@syncfusion/ej2-dropdowns 24.1.44 → 24.1.45-12082
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2101 -2083
- package/{README.md → ReadMe.md} +217 -217
- package/dist/ej2-dropdowns.min.js +1 -10
- package/dist/ej2-dropdowns.umd.min.js +1 -10
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +74 -68
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +216 -210
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +1 -10
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/dist/ts/auto-complete/auto-complete.ts +623 -0
- package/dist/ts/combo-box/combo-box.ts +1099 -0
- package/dist/ts/common/highlight-search.ts +57 -0
- package/dist/ts/common/incremental-search.ts +172 -0
- package/dist/ts/common/interface.ts +74 -0
- package/dist/ts/common/virtual-scroll.ts +388 -0
- package/dist/ts/drop-down-base/drop-down-base.ts +1986 -0
- package/dist/ts/drop-down-list/drop-down-list.ts +4261 -0
- package/dist/ts/drop-down-tree/drop-down-tree.ts +3747 -0
- package/dist/ts/list-box/list-box.ts +2772 -0
- package/dist/ts/mention/mention.ts +1875 -0
- package/dist/ts/multi-select/checkbox-selection.ts +550 -0
- package/dist/ts/multi-select/float-label.ts +176 -0
- package/dist/ts/multi-select/interface.ts +70 -0
- package/dist/ts/multi-select/multi-select.ts +4882 -0
- package/helpers/e2e/autocomplete.js +13 -13
- package/helpers/e2e/combobox.js +13 -13
- package/helpers/e2e/dropdownlist.js +13 -13
- package/helpers/e2e/index.js +3 -3
- package/helpers/e2e/listboxHelper.js +13 -13
- package/helpers/e2e/multiselect.js +13 -13
- package/license +2 -2
- package/package.json +80 -80
- package/src/auto-complete/auto-complete-model.d.ts +188 -188
- 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 +224 -224
- package/src/combo-box/combo-box.d.ts +27 -27
- package/src/combo-box/combo-box.js +29 -29
- package/src/common/virtual-scroll.js +46 -46
- package/src/drop-down-base/drop-down-base-model.d.ts +200 -200
- package/src/drop-down-base/drop-down-base.d.ts +16 -16
- package/src/drop-down-base/drop-down-base.js +20 -20
- package/src/drop-down-list/drop-down-list-model.d.ts +202 -202
- package/src/drop-down-list/drop-down-list.d.ts +5 -4
- package/src/drop-down-list/drop-down-list.js +29 -22
- package/src/drop-down-tree/drop-down-tree-model.d.ts +468 -468
- package/src/drop-down-tree/drop-down-tree.d.ts +0 -1
- package/src/drop-down-tree/drop-down-tree.js +19 -27
- package/src/list-box/list-box-model.d.ts +193 -193
- 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 +261 -261
- package/src/mention/mention.js +27 -20
- package/src/multi-select/multi-select-model.d.ts +512 -512
- package/src/multi-select/multi-select.js +20 -20
- package/styles/auto-complete/_all.scss +1 -1
- package/styles/auto-complete/_bds-definition.scss +2 -0
- 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/_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/_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/material3-dark.scss +1 -1
- package/styles/auto-complete/material3.scss +1 -1
- package/styles/bootstrap-dark.css +5 -0
- package/styles/bootstrap.css +5 -0
- package/styles/bootstrap4.css +5 -0
- package/styles/bootstrap5-dark.css +5 -0
- package/styles/bootstrap5.css +5 -0
- package/styles/combo-box/_all.scss +1 -1
- package/styles/combo-box/_bds-definition.scss +2 -0
- 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/_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/_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/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 +129 -0
- package/styles/drop-down-base/_bootstrap-dark-definition.scss +83 -83
- package/styles/drop-down-base/_bootstrap-definition.scss +83 -83
- package/styles/drop-down-base/_bootstrap4-definition.scss +90 -90
- package/styles/drop-down-base/_bootstrap5-definition.scss +117 -117
- package/styles/drop-down-base/_definition.scss +23 -23
- package/styles/drop-down-base/_fabric-dark-definition.scss +86 -86
- package/styles/drop-down-base/_fabric-definition.scss +84 -84
- package/styles/drop-down-base/_fluent-definition.scss +121 -121
- package/styles/drop-down-base/_fusionnew-definition.scss +117 -117
- package/styles/drop-down-base/_highcontrast-definition.scss +105 -105
- package/styles/drop-down-base/_highcontrast-light-definition.scss +105 -105
- package/styles/drop-down-base/_layout.scss +192 -192
- package/styles/drop-down-base/_material-dark-definition.scss +86 -86
- package/styles/drop-down-base/_material-definition.scss +85 -85
- package/styles/drop-down-base/_material3-definition.scss +87 -87
- package/styles/drop-down-base/_tailwind-definition.scss +129 -129
- package/styles/drop-down-base/_theme.scss +391 -391
- 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 +134 -0
- package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
- package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
- package/styles/drop-down-list/_bootstrap4-definition.scss +202 -202
- package/styles/drop-down-list/_bootstrap5-definition.scss +201 -201
- package/styles/drop-down-list/_fabric-dark-definition.scss +128 -128
- package/styles/drop-down-list/_fabric-definition.scss +124 -124
- package/styles/drop-down-list/_fluent-definition.scss +185 -185
- package/styles/drop-down-list/_fusionnew-definition.scss +201 -201
- package/styles/drop-down-list/_highcontrast-definition.scss +142 -142
- package/styles/drop-down-list/_highcontrast-light-definition.scss +144 -144
- package/styles/drop-down-list/_layout.scss +315 -310
- package/styles/drop-down-list/_material-dark-definition.scss +143 -143
- package/styles/drop-down-list/_material-definition.scss +167 -167
- package/styles/drop-down-list/_material3-definition.scss +180 -180
- package/styles/drop-down-list/_tailwind-definition.scss +134 -134
- package/styles/drop-down-list/_theme.scss +10 -10
- package/styles/drop-down-list/bootstrap-dark.css +5 -0
- package/styles/drop-down-list/bootstrap.css +5 -0
- package/styles/drop-down-list/bootstrap4.css +5 -0
- package/styles/drop-down-list/bootstrap5-dark.css +5 -0
- package/styles/drop-down-list/bootstrap5.css +5 -0
- package/styles/drop-down-list/fabric-dark.css +5 -0
- package/styles/drop-down-list/fabric.css +5 -0
- package/styles/drop-down-list/fluent-dark.css +5 -0
- package/styles/drop-down-list/fluent.css +5 -0
- package/styles/drop-down-list/highcontrast-light.css +5 -0
- package/styles/drop-down-list/highcontrast.css +5 -0
- package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap5.scss +14 -14
- package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
- package/styles/drop-down-list/icons/_fabric.scss +14 -14
- package/styles/drop-down-list/icons/_fluent.scss +14 -14
- 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 +14 -14
- package/styles/drop-down-list/icons/_material-dark.scss +14 -14
- package/styles/drop-down-list/icons/_material.scss +14 -14
- package/styles/drop-down-list/icons/_material3.scss +14 -14
- package/styles/drop-down-list/icons/_tailwind.scss +14 -14
- package/styles/drop-down-list/material-dark.css +5 -0
- package/styles/drop-down-list/material.css +5 -0
- package/styles/drop-down-list/material3-dark.css +5 -0
- package/styles/drop-down-list/material3-dark.scss +1 -1
- package/styles/drop-down-list/material3.css +5 -0
- package/styles/drop-down-list/material3.scss +1 -1
- package/styles/drop-down-list/tailwind-dark.css +5 -0
- package/styles/drop-down-list/tailwind.css +5 -0
- package/styles/drop-down-tree/_all.scss +2 -2
- package/styles/drop-down-tree/_bds-definition.scss +61 -0
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +71 -71
- package/styles/drop-down-tree/_bootstrap-definition.scss +70 -70
- package/styles/drop-down-tree/_bootstrap4-definition.scss +71 -71
- package/styles/drop-down-tree/_bootstrap5-definition.scss +59 -59
- package/styles/drop-down-tree/_fabric-dark-definition.scss +71 -71
- package/styles/drop-down-tree/_fabric-definition.scss +71 -71
- package/styles/drop-down-tree/_fluent-definition.scss +65 -65
- package/styles/drop-down-tree/_fusionnew-definition.scss +59 -59
- package/styles/drop-down-tree/_highcontrast-definition.scss +71 -71
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +71 -71
- package/styles/drop-down-tree/_layout.scss +1423 -1423
- package/styles/drop-down-tree/_material-dark-definition.scss +72 -72
- package/styles/drop-down-tree/_material-definition.scss +72 -72
- package/styles/drop-down-tree/_material3-definition.scss +76 -76
- package/styles/drop-down-tree/_tailwind-definition.scss +61 -61
- package/styles/drop-down-tree/_theme.scss +132 -132
- 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.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/_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/material3-dark.scss +1 -1
- package/styles/drop-down-tree/material3.scss +1 -1
- package/styles/fabric-dark.css +5 -0
- package/styles/fabric.css +5 -0
- package/styles/fluent-dark.css +5 -0
- package/styles/fluent.css +5 -0
- package/styles/highcontrast-light.css +5 -0
- package/styles/highcontrast.css +5 -0
- package/styles/list-box/_all.scss +2 -2
- package/styles/list-box/_bds-definition.scss +119 -0
- 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 +124 -124
- package/styles/list-box/_bootstrap5-definition.scss +120 -120
- package/styles/list-box/_fabric-dark-definition.scss +126 -126
- package/styles/list-box/_fabric-definition.scss +119 -119
- package/styles/list-box/_fluent-definition.scss +120 -120
- 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 +126 -126
- package/styles/list-box/_layout.scss +542 -542
- package/styles/list-box/_material-dark-definition.scss +126 -126
- 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/_theme.scss +382 -382
- 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.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/_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/material3-dark.scss +1 -1
- package/styles/list-box/material3.scss +1 -1
- package/styles/material-dark.css +5 -0
- package/styles/material.css +5 -0
- package/styles/material3-dark.css +5 -0
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +5 -0
- package/styles/material3.scss +1 -1
- package/styles/mention/_all.scss +1 -1
- package/styles/mention/_bds-definition.scss +1 -0
- 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/_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/_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/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 +235 -0
- package/styles/multi-select/_bootstrap-dark-definition.scss +203 -203
- package/styles/multi-select/_bootstrap-definition.scss +192 -192
- package/styles/multi-select/_bootstrap4-definition.scss +278 -278
- package/styles/multi-select/_bootstrap5-definition.scss +230 -230
- package/styles/multi-select/_fabric-dark-definition.scss +192 -192
- package/styles/multi-select/_fabric-definition.scss +183 -183
- package/styles/multi-select/_fluent-definition.scss +241 -241
- package/styles/multi-select/_fusionnew-definition.scss +227 -227
- package/styles/multi-select/_highcontrast-definition.scss +303 -303
- package/styles/multi-select/_highcontrast-light-definition.scss +297 -297
- package/styles/multi-select/_layout.scss +2199 -2199
- package/styles/multi-select/_material-dark-definition.scss +230 -230
- package/styles/multi-select/_material-definition.scss +223 -223
- package/styles/multi-select/_material3-definition.scss +246 -246
- package/styles/multi-select/_tailwind-definition.scss +235 -235
- package/styles/multi-select/_theme.scss +586 -586
- package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
- package/styles/multi-select/icons/_bootstrap.scss +26 -26
- package/styles/multi-select/icons/_bootstrap4.scss +37 -37
- package/styles/multi-select/icons/_bootstrap5.scss +26 -26
- package/styles/multi-select/icons/_fabric-dark.scss +26 -26
- package/styles/multi-select/icons/_fabric.scss +26 -26
- package/styles/multi-select/icons/_fluent.scss +55 -55
- 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 +26 -26
- package/styles/multi-select/icons/_material-dark.scss +693 -693
- package/styles/multi-select/icons/_material.scss +693 -693
- package/styles/multi-select/icons/_material3.scss +692 -692
- package/styles/multi-select/icons/_tailwind.scss +26 -26
- package/styles/multi-select/material3-dark.scss +1 -1
- package/styles/multi-select/material3.scss +1 -1
- package/styles/tailwind-dark.css +5 -0
- package/styles/tailwind.css +5 -0
- package/.eslintrc.json +0 -260
- package/tslint.json +0 -111
|
@@ -238,52 +238,52 @@ function revertHighlightSearch(content) {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
var __assign = (undefined && undefined.__assign) || function () {
|
|
242
|
-
__assign = Object.assign || function(t) {
|
|
243
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
244
|
-
s = arguments[i];
|
|
245
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
246
|
-
t[p] = s[p];
|
|
247
|
-
}
|
|
248
|
-
return t;
|
|
249
|
-
};
|
|
250
|
-
return __assign.apply(this, arguments);
|
|
251
|
-
};
|
|
252
|
-
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
253
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
254
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
255
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
256
|
-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
257
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
258
|
-
});
|
|
259
|
-
};
|
|
260
|
-
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
|
261
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
262
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
263
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
264
|
-
function step(op) {
|
|
265
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
266
|
-
while (_) try {
|
|
267
|
-
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;
|
|
268
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
269
|
-
switch (op[0]) {
|
|
270
|
-
case 0: case 1: t = op; break;
|
|
271
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
272
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
273
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
274
|
-
default:
|
|
275
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
276
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
277
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
278
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
279
|
-
if (t[2]) _.ops.pop();
|
|
280
|
-
_.trys.pop(); continue;
|
|
281
|
-
}
|
|
282
|
-
op = body.call(thisArg, _);
|
|
283
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
284
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
285
|
-
}
|
|
286
|
-
};
|
|
241
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
242
|
+
__assign = Object.assign || function(t) {
|
|
243
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
244
|
+
s = arguments[i];
|
|
245
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
246
|
+
t[p] = s[p];
|
|
247
|
+
}
|
|
248
|
+
return t;
|
|
249
|
+
};
|
|
250
|
+
return __assign.apply(this, arguments);
|
|
251
|
+
};
|
|
252
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
253
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
254
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
255
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
256
|
+
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
257
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
258
|
+
});
|
|
259
|
+
};
|
|
260
|
+
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
|
261
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
262
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
263
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
264
|
+
function step(op) {
|
|
265
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
266
|
+
while (_) try {
|
|
267
|
+
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;
|
|
268
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
269
|
+
switch (op[0]) {
|
|
270
|
+
case 0: case 1: t = op; break;
|
|
271
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
272
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
273
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
274
|
+
default:
|
|
275
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
276
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
277
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
278
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
279
|
+
if (t[2]) _.ops.pop();
|
|
280
|
+
_.trys.pop(); continue;
|
|
281
|
+
}
|
|
282
|
+
op = body.call(thisArg, _);
|
|
283
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
284
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
285
|
+
}
|
|
286
|
+
};
|
|
287
287
|
var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
288
288
|
function VirtualScroll(parent) {
|
|
289
289
|
var _this = this;
|
|
@@ -651,25 +651,25 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
651
651
|
* Common source
|
|
652
652
|
*/
|
|
653
653
|
|
|
654
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
|
655
|
-
var extendStatics = function (d, b) {
|
|
656
|
-
extendStatics = Object.setPrototypeOf ||
|
|
657
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
658
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
659
|
-
return extendStatics(d, b);
|
|
660
|
-
};
|
|
661
|
-
return function (d, b) {
|
|
662
|
-
extendStatics(d, b);
|
|
663
|
-
function __() { this.constructor = d; }
|
|
664
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
665
|
-
};
|
|
666
|
-
})();
|
|
667
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
668
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
669
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
670
|
-
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;
|
|
671
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
672
|
-
};
|
|
654
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
655
|
+
var extendStatics = function (d, b) {
|
|
656
|
+
extendStatics = Object.setPrototypeOf ||
|
|
657
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
658
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
659
|
+
return extendStatics(d, b);
|
|
660
|
+
};
|
|
661
|
+
return function (d, b) {
|
|
662
|
+
extendStatics(d, b);
|
|
663
|
+
function __() { this.constructor = d; }
|
|
664
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
665
|
+
};
|
|
666
|
+
})();
|
|
667
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
668
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
669
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
670
|
+
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;
|
|
671
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
672
|
+
};
|
|
673
673
|
var FieldSettings = /** @__PURE__ @class */ (function (_super) {
|
|
674
674
|
__extends(FieldSettings, _super);
|
|
675
675
|
function FieldSettings() {
|
|
@@ -2210,25 +2210,25 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2210
2210
|
* export all modules from current location
|
|
2211
2211
|
*/
|
|
2212
2212
|
|
|
2213
|
-
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2214
|
-
var extendStatics = function (d, b) {
|
|
2215
|
-
extendStatics = Object.setPrototypeOf ||
|
|
2216
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2217
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2218
|
-
return extendStatics(d, b);
|
|
2219
|
-
};
|
|
2220
|
-
return function (d, b) {
|
|
2221
|
-
extendStatics(d, b);
|
|
2222
|
-
function __() { this.constructor = d; }
|
|
2223
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2224
|
-
};
|
|
2225
|
-
})();
|
|
2226
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2227
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2228
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2229
|
-
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;
|
|
2230
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2231
|
-
};
|
|
2213
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2214
|
+
var extendStatics = function (d, b) {
|
|
2215
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2216
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2217
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2218
|
+
return extendStatics(d, b);
|
|
2219
|
+
};
|
|
2220
|
+
return function (d, b) {
|
|
2221
|
+
extendStatics(d, b);
|
|
2222
|
+
function __() { this.constructor = d; }
|
|
2223
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2224
|
+
};
|
|
2225
|
+
})();
|
|
2226
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2227
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2228
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2229
|
+
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;
|
|
2230
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2231
|
+
};
|
|
2232
2232
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
2233
2233
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
2234
2234
|
// don't use space in classnames
|
|
@@ -4795,9 +4795,16 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
4795
4795
|
DropDownList.prototype.scrollHandler = function () {
|
|
4796
4796
|
if (Browser.isDevice && ((this.getModuleName() === 'dropdownlist' &&
|
|
4797
4797
|
!this.isFilterLayout()) || (this.getModuleName() === 'combobox' && !this.allowFiltering && this.isDropDownClick))) {
|
|
4798
|
-
this.
|
|
4798
|
+
if (this.element && !(this.isElementInViewport(this.element))) {
|
|
4799
|
+
this.hidePopup();
|
|
4800
|
+
}
|
|
4799
4801
|
}
|
|
4800
4802
|
};
|
|
4803
|
+
DropDownList.prototype.isElementInViewport = function (element) {
|
|
4804
|
+
var elementRect = element.getBoundingClientRect();
|
|
4805
|
+
return (elementRect.top >= 0 && elementRect.left >= 0 && elementRect.bottom <= window.innerHeight && elementRect.right <= window.innerWidth);
|
|
4806
|
+
};
|
|
4807
|
+
|
|
4801
4808
|
DropDownList.prototype.setSearchBoxPosition = function () {
|
|
4802
4809
|
var searchBoxHeight = this.filterInput.parentElement.getBoundingClientRect().height;
|
|
4803
4810
|
this.popupObj.element.style.maxHeight = '100%';
|
|
@@ -5942,7 +5949,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
5942
5949
|
if (!this.enabled) {
|
|
5943
5950
|
return;
|
|
5944
5951
|
}
|
|
5945
|
-
if (!this.enableVirtualization && this.getModuleName() === 'combobox') {
|
|
5952
|
+
if (!this.enableVirtualization && (this.getModuleName() === 'combobox' || this.getModuleName() === 'autocomplete')) {
|
|
5946
5953
|
this.isTyped = true;
|
|
5947
5954
|
}
|
|
5948
5955
|
this.hidePopup(e);
|
|
@@ -6146,25 +6153,25 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
6146
6153
|
* export all modules from current location
|
|
6147
6154
|
*/
|
|
6148
6155
|
|
|
6149
|
-
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
6150
|
-
var extendStatics = function (d, b) {
|
|
6151
|
-
extendStatics = Object.setPrototypeOf ||
|
|
6152
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6153
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6154
|
-
return extendStatics(d, b);
|
|
6155
|
-
};
|
|
6156
|
-
return function (d, b) {
|
|
6157
|
-
extendStatics(d, b);
|
|
6158
|
-
function __() { this.constructor = d; }
|
|
6159
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6160
|
-
};
|
|
6161
|
-
})();
|
|
6162
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6163
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6164
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6165
|
-
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;
|
|
6166
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6167
|
-
};
|
|
6156
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
6157
|
+
var extendStatics = function (d, b) {
|
|
6158
|
+
extendStatics = Object.setPrototypeOf ||
|
|
6159
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6160
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6161
|
+
return extendStatics(d, b);
|
|
6162
|
+
};
|
|
6163
|
+
return function (d, b) {
|
|
6164
|
+
extendStatics(d, b);
|
|
6165
|
+
function __() { this.constructor = d; }
|
|
6166
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6167
|
+
};
|
|
6168
|
+
})();
|
|
6169
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
6170
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6171
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6172
|
+
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;
|
|
6173
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6174
|
+
};
|
|
6168
6175
|
var RTL = 'e-rtl';
|
|
6169
6176
|
var DROPDOWNTREE = 'e-ddt';
|
|
6170
6177
|
var HIDDENELEMENT = 'e-ddt-hidden';
|
|
@@ -6393,7 +6400,6 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
6393
6400
|
var popupDiv = select('#' + this.element.id + '_options', document);
|
|
6394
6401
|
detach(popupDiv ? popupDiv : isTree.parentElement);
|
|
6395
6402
|
}
|
|
6396
|
-
this.ensureAutoCheck();
|
|
6397
6403
|
if (this.element.tagName === 'INPUT') {
|
|
6398
6404
|
this.inputEle = this.element;
|
|
6399
6405
|
if (isNullOrUndefined(this.inputEle.getAttribute('role'))) {
|
|
@@ -6480,11 +6486,6 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
6480
6486
|
|| this.noRecordsTemplate || this.customTemplate;
|
|
6481
6487
|
this.renderComplete();
|
|
6482
6488
|
};
|
|
6483
|
-
DropDownTree.prototype.ensureAutoCheck = function () {
|
|
6484
|
-
if (this.allowFiltering && this.treeSettings.autoCheck) {
|
|
6485
|
-
this.setProperties({ treeSettings: { autoCheck: false } }, true);
|
|
6486
|
-
}
|
|
6487
|
-
};
|
|
6488
6489
|
DropDownTree.prototype.hideCheckAll = function (flag) {
|
|
6489
6490
|
var checkAllEle = !isNullOrUndefined(this.popupEle) ? this.popupEle.querySelector('.' + CHECKALLPARENT) : null;
|
|
6490
6491
|
if (!isNullOrUndefined(checkAllEle)) {
|
|
@@ -8677,7 +8678,6 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8677
8678
|
DropDownTree.prototype.updateTreeSettings = function (prop) {
|
|
8678
8679
|
var value = Object.keys(prop.treeSettings)[0];
|
|
8679
8680
|
if (value === 'autoCheck') {
|
|
8680
|
-
this.ensureAutoCheck();
|
|
8681
8681
|
this.treeObj.autoCheck = this.treeSettings.autoCheck;
|
|
8682
8682
|
}
|
|
8683
8683
|
else if (value === 'loadOnDemand') {
|
|
@@ -8798,7 +8798,6 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8798
8798
|
this.destroyFilter();
|
|
8799
8799
|
}
|
|
8800
8800
|
}
|
|
8801
|
-
this.ensureAutoCheck();
|
|
8802
8801
|
};
|
|
8803
8802
|
DropDownTree.prototype.updateFilterPlaceHolder = function () {
|
|
8804
8803
|
if (this.filterObj) {
|
|
@@ -9373,25 +9372,25 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
9373
9372
|
* export all modules from current location
|
|
9374
9373
|
*/
|
|
9375
9374
|
|
|
9376
|
-
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
9377
|
-
var extendStatics = function (d, b) {
|
|
9378
|
-
extendStatics = Object.setPrototypeOf ||
|
|
9379
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9380
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
9381
|
-
return extendStatics(d, b);
|
|
9382
|
-
};
|
|
9383
|
-
return function (d, b) {
|
|
9384
|
-
extendStatics(d, b);
|
|
9385
|
-
function __() { this.constructor = d; }
|
|
9386
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9387
|
-
};
|
|
9388
|
-
})();
|
|
9389
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9390
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9391
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9392
|
-
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;
|
|
9393
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9394
|
-
};
|
|
9375
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
9376
|
+
var extendStatics = function (d, b) {
|
|
9377
|
+
extendStatics = Object.setPrototypeOf ||
|
|
9378
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9379
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
9380
|
+
return extendStatics(d, b);
|
|
9381
|
+
};
|
|
9382
|
+
return function (d, b) {
|
|
9383
|
+
extendStatics(d, b);
|
|
9384
|
+
function __() { this.constructor = d; }
|
|
9385
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9386
|
+
};
|
|
9387
|
+
})();
|
|
9388
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9389
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9390
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9391
|
+
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;
|
|
9392
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9393
|
+
};
|
|
9395
9394
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
9396
9395
|
/// <reference path='../drop-down-list/drop-down-list-model.d.ts'/>
|
|
9397
9396
|
var SPINNER_CLASS = 'e-atc-spinner-icon';
|
|
@@ -10313,25 +10312,25 @@ var ComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
10313
10312
|
* export all modules from current location
|
|
10314
10313
|
*/
|
|
10315
10314
|
|
|
10316
|
-
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
10317
|
-
var extendStatics = function (d, b) {
|
|
10318
|
-
extendStatics = Object.setPrototypeOf ||
|
|
10319
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10320
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
10321
|
-
return extendStatics(d, b);
|
|
10322
|
-
};
|
|
10323
|
-
return function (d, b) {
|
|
10324
|
-
extendStatics(d, b);
|
|
10325
|
-
function __() { this.constructor = d; }
|
|
10326
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10327
|
-
};
|
|
10328
|
-
})();
|
|
10329
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10330
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10331
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10332
|
-
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;
|
|
10333
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10334
|
-
};
|
|
10315
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
10316
|
+
var extendStatics = function (d, b) {
|
|
10317
|
+
extendStatics = Object.setPrototypeOf ||
|
|
10318
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10319
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
10320
|
+
return extendStatics(d, b);
|
|
10321
|
+
};
|
|
10322
|
+
return function (d, b) {
|
|
10323
|
+
extendStatics(d, b);
|
|
10324
|
+
function __() { this.constructor = d; }
|
|
10325
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10326
|
+
};
|
|
10327
|
+
})();
|
|
10328
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10329
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10330
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10331
|
+
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;
|
|
10332
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10333
|
+
};
|
|
10335
10334
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
10336
10335
|
/// <reference path='../combo-box/combo-box-model.d.ts'/>
|
|
10337
10336
|
dropDownListClasses.root = 'e-autocomplete';
|
|
@@ -10949,25 +10948,25 @@ function encodePlaceholder(placeholder) {
|
|
|
10949
10948
|
}
|
|
10950
10949
|
/* eslint-enable valid-jsdoc */
|
|
10951
10950
|
|
|
10952
|
-
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
10953
|
-
var extendStatics = function (d, b) {
|
|
10954
|
-
extendStatics = Object.setPrototypeOf ||
|
|
10955
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10956
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
10957
|
-
return extendStatics(d, b);
|
|
10958
|
-
};
|
|
10959
|
-
return function (d, b) {
|
|
10960
|
-
extendStatics(d, b);
|
|
10961
|
-
function __() { this.constructor = d; }
|
|
10962
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10963
|
-
};
|
|
10964
|
-
})();
|
|
10965
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10966
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10967
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10968
|
-
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;
|
|
10969
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10970
|
-
};
|
|
10951
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
10952
|
+
var extendStatics = function (d, b) {
|
|
10953
|
+
extendStatics = Object.setPrototypeOf ||
|
|
10954
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10955
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
10956
|
+
return extendStatics(d, b);
|
|
10957
|
+
};
|
|
10958
|
+
return function (d, b) {
|
|
10959
|
+
extendStatics(d, b);
|
|
10960
|
+
function __() { this.constructor = d; }
|
|
10961
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10962
|
+
};
|
|
10963
|
+
})();
|
|
10964
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10965
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10966
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10967
|
+
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;
|
|
10968
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10969
|
+
};
|
|
10971
10970
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
10972
10971
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
10973
10972
|
var FOCUS = 'e-input-focus';
|
|
@@ -14786,10 +14785,10 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
14786
14785
|
if (!args.cancel) {
|
|
14787
14786
|
if (!_this.ulElement) {
|
|
14788
14787
|
_this.beforePopupOpen = true;
|
|
14789
|
-
_super.prototype.render.call(_this, e);
|
|
14790
14788
|
if (_this.mode === 'CheckBox' && Browser.isDevice && _this.allowFiltering) {
|
|
14791
14789
|
_this.notify('popupFullScreen', { module: 'CheckBoxSelection', enable: _this.mode === 'CheckBox' });
|
|
14792
14790
|
}
|
|
14791
|
+
_super.prototype.render.call(_this, e);
|
|
14793
14792
|
return;
|
|
14794
14793
|
}
|
|
14795
14794
|
if (_this.mode === 'CheckBox' && Browser.isDevice && _this.allowFiltering) {
|
|
@@ -15849,25 +15848,25 @@ var CheckBoxSelection = /** @__PURE__ @class */ (function () {
|
|
|
15849
15848
|
* export all modules from current location
|
|
15850
15849
|
*/
|
|
15851
15850
|
|
|
15852
|
-
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
15853
|
-
var extendStatics = function (d, b) {
|
|
15854
|
-
extendStatics = Object.setPrototypeOf ||
|
|
15855
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15856
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15857
|
-
return extendStatics(d, b);
|
|
15858
|
-
};
|
|
15859
|
-
return function (d, b) {
|
|
15860
|
-
extendStatics(d, b);
|
|
15861
|
-
function __() { this.constructor = d; }
|
|
15862
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15863
|
-
};
|
|
15864
|
-
})();
|
|
15865
|
-
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
15866
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15867
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15868
|
-
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;
|
|
15869
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15870
|
-
};
|
|
15851
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
15852
|
+
var extendStatics = function (d, b) {
|
|
15853
|
+
extendStatics = Object.setPrototypeOf ||
|
|
15854
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15855
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15856
|
+
return extendStatics(d, b);
|
|
15857
|
+
};
|
|
15858
|
+
return function (d, b) {
|
|
15859
|
+
extendStatics(d, b);
|
|
15860
|
+
function __() { this.constructor = d; }
|
|
15861
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15862
|
+
};
|
|
15863
|
+
})();
|
|
15864
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
15865
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15866
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15867
|
+
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;
|
|
15868
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15869
|
+
};
|
|
15871
15870
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
15872
15871
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
15873
15872
|
/**
|
|
@@ -18325,25 +18324,25 @@ var listBoxClasses = {
|
|
|
18325
18324
|
* export all modules from current location
|
|
18326
18325
|
*/
|
|
18327
18326
|
|
|
18328
|
-
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
18329
|
-
var extendStatics = function (d, b) {
|
|
18330
|
-
extendStatics = Object.setPrototypeOf ||
|
|
18331
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18332
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
18333
|
-
return extendStatics(d, b);
|
|
18334
|
-
};
|
|
18335
|
-
return function (d, b) {
|
|
18336
|
-
extendStatics(d, b);
|
|
18337
|
-
function __() { this.constructor = d; }
|
|
18338
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18339
|
-
};
|
|
18340
|
-
})();
|
|
18341
|
-
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
18342
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18343
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18344
|
-
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;
|
|
18345
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18346
|
-
};
|
|
18327
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
18328
|
+
var extendStatics = function (d, b) {
|
|
18329
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18330
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18331
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
18332
|
+
return extendStatics(d, b);
|
|
18333
|
+
};
|
|
18334
|
+
return function (d, b) {
|
|
18335
|
+
extendStatics(d, b);
|
|
18336
|
+
function __() { this.constructor = d; }
|
|
18337
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18338
|
+
};
|
|
18339
|
+
})();
|
|
18340
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
18341
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18342
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18343
|
+
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;
|
|
18344
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18345
|
+
};
|
|
18347
18346
|
/**
|
|
18348
18347
|
* The Mention component is used to list someone or something based on user input in textarea, input,
|
|
18349
18348
|
* or any other editable element from which the user can select.
|
|
@@ -18625,7 +18624,8 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
18625
18624
|
return;
|
|
18626
18625
|
}
|
|
18627
18626
|
this.isTyped = e.code !== 'Enter' && e.code !== 'Space' && e.code !== 'ArrowDown' && e.code !== 'ArrowUp' ? true : false;
|
|
18628
|
-
|
|
18627
|
+
var isRteImage = document.activeElement.parentElement && document.activeElement.parentElement.querySelector('.e-rte-image') ? true : false;
|
|
18628
|
+
if (document.activeElement != this.inputElement && !isRteImage) {
|
|
18629
18629
|
this.inputElement.focus();
|
|
18630
18630
|
}
|
|
18631
18631
|
if (this.isContentEditable(this.inputElement)) {
|
|
@@ -19497,6 +19497,12 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
19497
19497
|
if (this.isPopupOpen) {
|
|
19498
19498
|
this.hidePopup();
|
|
19499
19499
|
}
|
|
19500
|
+
//New event to update the RichTextEditor value, when a mention item is selected using mouse click action.
|
|
19501
|
+
if (!isNullOrUndefined(e.pointerType) && e.pointerType === 'mouse') {
|
|
19502
|
+
var event_1 = new CustomEvent('content-changed', { detail: { click: true } });
|
|
19503
|
+
this.inputElement.dispatchEvent(event_1);
|
|
19504
|
+
}
|
|
19505
|
+
|
|
19500
19506
|
this.onChangeEvent(e);
|
|
19501
19507
|
}
|
|
19502
19508
|
else {
|