@syncfusion/ej2-dropdowns 23.1.43 → 23.2.4-13895
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 +2114 -2084
- 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 +83 -71
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +225 -212
- 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 +615 -0
- package/dist/ts/combo-box/combo-box.ts +1028 -0
- package/dist/ts/common/highlight-search.ts +57 -0
- package/dist/ts/common/incremental-search.ts +131 -0
- package/dist/ts/common/interface.ts +72 -0
- package/dist/ts/common/virtual-scroll.ts +354 -0
- package/dist/ts/drop-down-base/drop-down-base.ts +1864 -0
- package/dist/ts/drop-down-list/drop-down-list.ts +3954 -0
- package/dist/ts/drop-down-tree/drop-down-tree.ts +3741 -0
- package/dist/ts/list-box/list-box.ts +2753 -0
- package/dist/ts/mention/mention.ts +1857 -0
- package/dist/ts/multi-select/checkbox-selection.ts +547 -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 +4880 -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 +15 -15
- package/src/drop-down-base/drop-down-base.js +23 -21
- package/src/drop-down-list/drop-down-list-model.d.ts +202 -202
- package/src/drop-down-list/drop-down-list.d.ts +4 -4
- package/src/drop-down-list/drop-down-list.js +24 -21
- 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 +5 -2
- package/src/list-box/list-box.js +38 -21
- package/src/mention/mention-model.d.ts +261 -261
- package/src/mention/mention.js +20 -21
- package/src/multi-select/multi-select-model.d.ts +512 -512
- package/src/multi-select/multi-select.js +19 -19
- package/styles/auto-complete/_all.scss +1 -1
- 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/bootstrap5-dark.css +2 -1
- package/styles/bootstrap5.css +2 -1
- package/styles/combo-box/_all.scss +1 -1
- 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/_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 +195 -195
- 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/_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 +310 -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/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/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/_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 +1418 -1412
- 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/fluent-dark.css +2 -0
- package/styles/drop-down-tree/fluent.css +2 -0
- 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/fluent-dark.css +4 -1
- package/styles/fluent.css +4 -1
- package/styles/highcontrast.css +5 -0
- package/styles/list-box/_all.scss +2 -2
- 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/material3-dark.scss +1 -1
- package/styles/material3.scss +1 -1
- package/styles/mention/_all.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/_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/_bootstrap-dark-definition.scss +203 -198
- 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 -229
- package/styles/multi-select/_fabric-dark-definition.scss +192 -187
- package/styles/multi-select/_fabric-definition.scss +183 -183
- package/styles/multi-select/_fluent-definition.scss +241 -240
- package/styles/multi-select/_fusionnew-definition.scss +227 -227
- package/styles/multi-select/_highcontrast-definition.scss +303 -298
- 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 -234
- package/styles/multi-select/_theme.scss +586 -586
- package/styles/multi-select/bootstrap-dark.css +5 -0
- package/styles/multi-select/bootstrap5-dark.css +2 -1
- package/styles/multi-select/bootstrap5.css +2 -1
- package/styles/multi-select/fabric-dark.css +5 -0
- package/styles/multi-select/fluent-dark.css +2 -1
- package/styles/multi-select/fluent.css +2 -1
- package/styles/multi-select/highcontrast.css +5 -0
- 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/multi-select/tailwind-dark.css +2 -1
- package/styles/multi-select/tailwind.css +2 -1
- package/styles/tailwind-dark.css +2 -1
- package/styles/tailwind.css +2 -1
- package/.eslintrc.json +0 -260
- package/tslint.json +0 -111
|
@@ -195,52 +195,52 @@ function revertHighlightSearch(content) {
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
var __assign = (undefined && undefined.__assign) || function () {
|
|
199
|
-
__assign = Object.assign || function(t) {
|
|
200
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
201
|
-
s = arguments[i];
|
|
202
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
203
|
-
t[p] = s[p];
|
|
204
|
-
}
|
|
205
|
-
return t;
|
|
206
|
-
};
|
|
207
|
-
return __assign.apply(this, arguments);
|
|
208
|
-
};
|
|
209
|
-
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
210
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
211
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
212
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
213
|
-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
214
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
215
|
-
});
|
|
216
|
-
};
|
|
217
|
-
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
|
218
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
219
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
220
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
221
|
-
function step(op) {
|
|
222
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
223
|
-
while (_) try {
|
|
224
|
-
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;
|
|
225
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
226
|
-
switch (op[0]) {
|
|
227
|
-
case 0: case 1: t = op; break;
|
|
228
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
229
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
230
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
231
|
-
default:
|
|
232
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
233
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
234
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
235
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
236
|
-
if (t[2]) _.ops.pop();
|
|
237
|
-
_.trys.pop(); continue;
|
|
238
|
-
}
|
|
239
|
-
op = body.call(thisArg, _);
|
|
240
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
241
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
242
|
-
}
|
|
243
|
-
};
|
|
198
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
199
|
+
__assign = Object.assign || function(t) {
|
|
200
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
201
|
+
s = arguments[i];
|
|
202
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
203
|
+
t[p] = s[p];
|
|
204
|
+
}
|
|
205
|
+
return t;
|
|
206
|
+
};
|
|
207
|
+
return __assign.apply(this, arguments);
|
|
208
|
+
};
|
|
209
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
210
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
211
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
212
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
213
|
+
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
214
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
215
|
+
});
|
|
216
|
+
};
|
|
217
|
+
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
|
218
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
219
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
220
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
221
|
+
function step(op) {
|
|
222
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
223
|
+
while (_) try {
|
|
224
|
+
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;
|
|
225
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
226
|
+
switch (op[0]) {
|
|
227
|
+
case 0: case 1: t = op; break;
|
|
228
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
229
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
230
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
231
|
+
default:
|
|
232
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
233
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
234
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
235
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
236
|
+
if (t[2]) _.ops.pop();
|
|
237
|
+
_.trys.pop(); continue;
|
|
238
|
+
}
|
|
239
|
+
op = body.call(thisArg, _);
|
|
240
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
241
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
244
|
var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
245
245
|
function VirtualScroll(parent) {
|
|
246
246
|
var _this = this;
|
|
@@ -575,25 +575,25 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
575
575
|
* Common source
|
|
576
576
|
*/
|
|
577
577
|
|
|
578
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
|
579
|
-
var extendStatics = function (d, b) {
|
|
580
|
-
extendStatics = Object.setPrototypeOf ||
|
|
581
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
582
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
583
|
-
return extendStatics(d, b);
|
|
584
|
-
};
|
|
585
|
-
return function (d, b) {
|
|
586
|
-
extendStatics(d, b);
|
|
587
|
-
function __() { this.constructor = d; }
|
|
588
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
589
|
-
};
|
|
590
|
-
})();
|
|
591
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
592
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
593
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
594
|
-
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;
|
|
595
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
596
|
-
};
|
|
578
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
579
|
+
var extendStatics = function (d, b) {
|
|
580
|
+
extendStatics = Object.setPrototypeOf ||
|
|
581
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
582
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
583
|
+
return extendStatics(d, b);
|
|
584
|
+
};
|
|
585
|
+
return function (d, b) {
|
|
586
|
+
extendStatics(d, b);
|
|
587
|
+
function __() { this.constructor = d; }
|
|
588
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
589
|
+
};
|
|
590
|
+
})();
|
|
591
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
592
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
593
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
594
|
+
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;
|
|
595
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
596
|
+
};
|
|
597
597
|
var FieldSettings = /** @__PURE__ @class */ (function (_super) {
|
|
598
598
|
__extends(FieldSettings, _super);
|
|
599
599
|
function FieldSettings() {
|
|
@@ -845,7 +845,9 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
847
|
else {
|
|
848
|
-
|
|
848
|
+
if (noDataElement[i] instanceof HTMLElement) {
|
|
849
|
+
ele.appendChild(noDataElement[i]);
|
|
850
|
+
}
|
|
849
851
|
}
|
|
850
852
|
}
|
|
851
853
|
}
|
|
@@ -2019,25 +2021,25 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2019
2021
|
* export all modules from current location
|
|
2020
2022
|
*/
|
|
2021
2023
|
|
|
2022
|
-
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2023
|
-
var extendStatics = function (d, b) {
|
|
2024
|
-
extendStatics = Object.setPrototypeOf ||
|
|
2025
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2026
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2027
|
-
return extendStatics(d, b);
|
|
2028
|
-
};
|
|
2029
|
-
return function (d, b) {
|
|
2030
|
-
extendStatics(d, b);
|
|
2031
|
-
function __() { this.constructor = d; }
|
|
2032
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2033
|
-
};
|
|
2034
|
-
})();
|
|
2035
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2036
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2037
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2038
|
-
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;
|
|
2039
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2040
|
-
};
|
|
2024
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2025
|
+
var extendStatics = function (d, b) {
|
|
2026
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2027
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2028
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2029
|
+
return extendStatics(d, b);
|
|
2030
|
+
};
|
|
2031
|
+
return function (d, b) {
|
|
2032
|
+
extendStatics(d, b);
|
|
2033
|
+
function __() { this.constructor = d; }
|
|
2034
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2035
|
+
};
|
|
2036
|
+
})();
|
|
2037
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2038
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2039
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2040
|
+
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;
|
|
2041
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2042
|
+
};
|
|
2041
2043
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
2042
2044
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
2043
2045
|
// don't use space in classnames
|
|
@@ -2817,6 +2819,9 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
2817
2819
|
DropDownList.prototype.updateUpDownAction = function (e, isVirtualKeyAction) {
|
|
2818
2820
|
if (this.allowFiltering && !this.enableVirtualization && this.getModuleName() !== 'autocomplete') {
|
|
2819
2821
|
var value_1 = this.getItemData().value;
|
|
2822
|
+
if (isNullOrUndefined(value_1)) {
|
|
2823
|
+
value_1 = 'null';
|
|
2824
|
+
}
|
|
2820
2825
|
var filterIndex = this.getIndexByValue(value_1);
|
|
2821
2826
|
if (!isNullOrUndefined(filterIndex)) {
|
|
2822
2827
|
this.activeIndex = filterIndex;
|
|
@@ -3045,7 +3050,6 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
3045
3050
|
if (this.inputWrapper.container.classList.contains(dropDownListClasses.inputFocus) || this.isPopupOpen) {
|
|
3046
3051
|
this.isDocumentClick = true;
|
|
3047
3052
|
var isActive = this.isRequested;
|
|
3048
|
-
this.isInteracted = false;
|
|
3049
3053
|
this.hidePopup(e);
|
|
3050
3054
|
if (!isActive) {
|
|
3051
3055
|
this.onFocusOut();
|
|
@@ -5401,6 +5405,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
5401
5405
|
this.isSelectCustom = false;
|
|
5402
5406
|
this.clearAll(e);
|
|
5403
5407
|
}
|
|
5408
|
+
this.isInteracted = false;
|
|
5404
5409
|
};
|
|
5405
5410
|
/* eslint-disable valid-jsdoc, jsdoc/require-param */
|
|
5406
5411
|
/**
|
|
@@ -5645,25 +5650,25 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
5645
5650
|
* export all modules from current location
|
|
5646
5651
|
*/
|
|
5647
5652
|
|
|
5648
|
-
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
5649
|
-
var extendStatics = function (d, b) {
|
|
5650
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5651
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5652
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5653
|
-
return extendStatics(d, b);
|
|
5654
|
-
};
|
|
5655
|
-
return function (d, b) {
|
|
5656
|
-
extendStatics(d, b);
|
|
5657
|
-
function __() { this.constructor = d; }
|
|
5658
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5659
|
-
};
|
|
5660
|
-
})();
|
|
5661
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5662
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5663
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5664
|
-
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;
|
|
5665
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5666
|
-
};
|
|
5653
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
5654
|
+
var extendStatics = function (d, b) {
|
|
5655
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5656
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5657
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5658
|
+
return extendStatics(d, b);
|
|
5659
|
+
};
|
|
5660
|
+
return function (d, b) {
|
|
5661
|
+
extendStatics(d, b);
|
|
5662
|
+
function __() { this.constructor = d; }
|
|
5663
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5664
|
+
};
|
|
5665
|
+
})();
|
|
5666
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5667
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5668
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5669
|
+
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;
|
|
5670
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5671
|
+
};
|
|
5667
5672
|
var RTL = 'e-rtl';
|
|
5668
5673
|
var DROPDOWNTREE = 'e-ddt';
|
|
5669
5674
|
var HIDDENELEMENT = 'e-ddt-hidden';
|
|
@@ -5892,7 +5897,6 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
5892
5897
|
var popupDiv = select('#' + this.element.id + '_popup', document);
|
|
5893
5898
|
detach(popupDiv ? popupDiv : isTree.parentElement);
|
|
5894
5899
|
}
|
|
5895
|
-
this.ensureAutoCheck();
|
|
5896
5900
|
if (this.element.tagName === 'INPUT') {
|
|
5897
5901
|
this.inputEle = this.element;
|
|
5898
5902
|
if (isNullOrUndefined(this.inputEle.getAttribute('role'))) {
|
|
@@ -5976,11 +5980,6 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
5976
5980
|
|| this.noRecordsTemplate || this.customTemplate;
|
|
5977
5981
|
this.renderComplete();
|
|
5978
5982
|
};
|
|
5979
|
-
DropDownTree.prototype.ensureAutoCheck = function () {
|
|
5980
|
-
if (this.allowFiltering && this.treeSettings.autoCheck) {
|
|
5981
|
-
this.setProperties({ treeSettings: { autoCheck: false } }, true);
|
|
5982
|
-
}
|
|
5983
|
-
};
|
|
5984
5983
|
DropDownTree.prototype.hideCheckAll = function (flag) {
|
|
5985
5984
|
var checkAllEle = !isNullOrUndefined(this.popupEle) ? this.popupEle.querySelector('.' + CHECKALLPARENT) : null;
|
|
5986
5985
|
if (!isNullOrUndefined(checkAllEle)) {
|
|
@@ -8170,7 +8169,6 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8170
8169
|
DropDownTree.prototype.updateTreeSettings = function (prop) {
|
|
8171
8170
|
var value = Object.keys(prop.treeSettings)[0];
|
|
8172
8171
|
if (value === 'autoCheck') {
|
|
8173
|
-
this.ensureAutoCheck();
|
|
8174
8172
|
this.treeObj.autoCheck = this.treeSettings.autoCheck;
|
|
8175
8173
|
}
|
|
8176
8174
|
else if (value === 'loadOnDemand') {
|
|
@@ -8291,7 +8289,6 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8291
8289
|
this.destroyFilter();
|
|
8292
8290
|
}
|
|
8293
8291
|
}
|
|
8294
|
-
this.ensureAutoCheck();
|
|
8295
8292
|
};
|
|
8296
8293
|
DropDownTree.prototype.updateFilterPlaceHolder = function () {
|
|
8297
8294
|
if (this.filterObj) {
|
|
@@ -8866,25 +8863,25 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8866
8863
|
* export all modules from current location
|
|
8867
8864
|
*/
|
|
8868
8865
|
|
|
8869
|
-
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
8870
|
-
var extendStatics = function (d, b) {
|
|
8871
|
-
extendStatics = Object.setPrototypeOf ||
|
|
8872
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8873
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8874
|
-
return extendStatics(d, b);
|
|
8875
|
-
};
|
|
8876
|
-
return function (d, b) {
|
|
8877
|
-
extendStatics(d, b);
|
|
8878
|
-
function __() { this.constructor = d; }
|
|
8879
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8880
|
-
};
|
|
8881
|
-
})();
|
|
8882
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8883
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8884
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8885
|
-
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;
|
|
8886
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8887
|
-
};
|
|
8866
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
8867
|
+
var extendStatics = function (d, b) {
|
|
8868
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8869
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8870
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8871
|
+
return extendStatics(d, b);
|
|
8872
|
+
};
|
|
8873
|
+
return function (d, b) {
|
|
8874
|
+
extendStatics(d, b);
|
|
8875
|
+
function __() { this.constructor = d; }
|
|
8876
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8877
|
+
};
|
|
8878
|
+
})();
|
|
8879
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8880
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8881
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8882
|
+
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;
|
|
8883
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8884
|
+
};
|
|
8888
8885
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
8889
8886
|
/// <reference path='../drop-down-list/drop-down-list-model.d.ts'/>
|
|
8890
8887
|
var SPINNER_CLASS = 'e-atc-spinner-icon';
|
|
@@ -9734,25 +9731,25 @@ var ComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
9734
9731
|
* export all modules from current location
|
|
9735
9732
|
*/
|
|
9736
9733
|
|
|
9737
|
-
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
9738
|
-
var extendStatics = function (d, b) {
|
|
9739
|
-
extendStatics = Object.setPrototypeOf ||
|
|
9740
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9741
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
9742
|
-
return extendStatics(d, b);
|
|
9743
|
-
};
|
|
9744
|
-
return function (d, b) {
|
|
9745
|
-
extendStatics(d, b);
|
|
9746
|
-
function __() { this.constructor = d; }
|
|
9747
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9748
|
-
};
|
|
9749
|
-
})();
|
|
9750
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9751
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9752
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9753
|
-
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;
|
|
9754
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9755
|
-
};
|
|
9734
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
9735
|
+
var extendStatics = function (d, b) {
|
|
9736
|
+
extendStatics = Object.setPrototypeOf ||
|
|
9737
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9738
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
9739
|
+
return extendStatics(d, b);
|
|
9740
|
+
};
|
|
9741
|
+
return function (d, b) {
|
|
9742
|
+
extendStatics(d, b);
|
|
9743
|
+
function __() { this.constructor = d; }
|
|
9744
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9745
|
+
};
|
|
9746
|
+
})();
|
|
9747
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9748
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9749
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9750
|
+
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;
|
|
9751
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9752
|
+
};
|
|
9756
9753
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
9757
9754
|
/// <reference path='../combo-box/combo-box-model.d.ts'/>
|
|
9758
9755
|
dropDownListClasses.root = 'e-autocomplete';
|
|
@@ -10361,25 +10358,25 @@ function encodePlaceholder(placeholder) {
|
|
|
10361
10358
|
}
|
|
10362
10359
|
/* eslint-enable valid-jsdoc */
|
|
10363
10360
|
|
|
10364
|
-
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
10365
|
-
var extendStatics = function (d, b) {
|
|
10366
|
-
extendStatics = Object.setPrototypeOf ||
|
|
10367
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10368
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
10369
|
-
return extendStatics(d, b);
|
|
10370
|
-
};
|
|
10371
|
-
return function (d, b) {
|
|
10372
|
-
extendStatics(d, b);
|
|
10373
|
-
function __() { this.constructor = d; }
|
|
10374
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10375
|
-
};
|
|
10376
|
-
})();
|
|
10377
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10378
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10379
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10380
|
-
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;
|
|
10381
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10382
|
-
};
|
|
10361
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
10362
|
+
var extendStatics = function (d, b) {
|
|
10363
|
+
extendStatics = Object.setPrototypeOf ||
|
|
10364
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10365
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
10366
|
+
return extendStatics(d, b);
|
|
10367
|
+
};
|
|
10368
|
+
return function (d, b) {
|
|
10369
|
+
extendStatics(d, b);
|
|
10370
|
+
function __() { this.constructor = d; }
|
|
10371
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10372
|
+
};
|
|
10373
|
+
})();
|
|
10374
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10375
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10376
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10377
|
+
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;
|
|
10378
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10379
|
+
};
|
|
10383
10380
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
10384
10381
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
10385
10382
|
var FOCUS = 'e-input-focus';
|
|
@@ -15256,25 +15253,25 @@ var CheckBoxSelection = /** @__PURE__ @class */ (function () {
|
|
|
15256
15253
|
* export all modules from current location
|
|
15257
15254
|
*/
|
|
15258
15255
|
|
|
15259
|
-
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
15260
|
-
var extendStatics = function (d, b) {
|
|
15261
|
-
extendStatics = Object.setPrototypeOf ||
|
|
15262
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15263
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15264
|
-
return extendStatics(d, b);
|
|
15265
|
-
};
|
|
15266
|
-
return function (d, b) {
|
|
15267
|
-
extendStatics(d, b);
|
|
15268
|
-
function __() { this.constructor = d; }
|
|
15269
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15270
|
-
};
|
|
15271
|
-
})();
|
|
15272
|
-
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
15273
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15274
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15275
|
-
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;
|
|
15276
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15277
|
-
};
|
|
15256
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
15257
|
+
var extendStatics = function (d, b) {
|
|
15258
|
+
extendStatics = Object.setPrototypeOf ||
|
|
15259
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15260
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15261
|
+
return extendStatics(d, b);
|
|
15262
|
+
};
|
|
15263
|
+
return function (d, b) {
|
|
15264
|
+
extendStatics(d, b);
|
|
15265
|
+
function __() { this.constructor = d; }
|
|
15266
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15267
|
+
};
|
|
15268
|
+
})();
|
|
15269
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
15270
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15271
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15272
|
+
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;
|
|
15273
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15274
|
+
};
|
|
15278
15275
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
15279
15276
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
15280
15277
|
/**
|
|
@@ -15667,6 +15664,7 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
15667
15664
|
});
|
|
15668
15665
|
};
|
|
15669
15666
|
ListBox.prototype.triggerDrag = function (args) {
|
|
15667
|
+
var _this = this;
|
|
15670
15668
|
var scrollParent;
|
|
15671
15669
|
var boundRect;
|
|
15672
15670
|
var scrollMoved = 36;
|
|
@@ -15686,6 +15684,7 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
15686
15684
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
15687
15685
|
var event = args.event;
|
|
15688
15686
|
var wrapper;
|
|
15687
|
+
this.stopTimer();
|
|
15689
15688
|
if (args.target && (args.target.classList.contains('e-listbox-wrapper') || args.target.classList.contains('e-list-item')
|
|
15690
15689
|
|| args.target.classList.contains('e-filter-parent') || args.target.classList.contains('e-input-group')
|
|
15691
15690
|
|| args.target.closest('.e-list-item'))) {
|
|
@@ -15705,10 +15704,10 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
15705
15704
|
}
|
|
15706
15705
|
boundRect = scrollParent.getBoundingClientRect();
|
|
15707
15706
|
if ((boundRect.y + scrollParent.offsetHeight) - (event.clientY + scrollMoved) < 1) {
|
|
15708
|
-
|
|
15707
|
+
this.timer = window.setInterval(function () { _this.setScrollDown(scrollParent, scrollHeight, true); }, 70);
|
|
15709
15708
|
}
|
|
15710
15709
|
else if ((event.clientY - scrollMoved) - boundRect.y < 1) {
|
|
15711
|
-
|
|
15710
|
+
this.timer = window.setInterval(function () { _this.setScrollDown(scrollParent, scrollHeight, false); }, 70);
|
|
15712
15711
|
}
|
|
15713
15712
|
}
|
|
15714
15713
|
if (args.target === null) {
|
|
@@ -15716,7 +15715,19 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
15716
15715
|
}
|
|
15717
15716
|
this.trigger('drag', this.getDragArgs(args));
|
|
15718
15717
|
};
|
|
15718
|
+
ListBox.prototype.setScrollDown = function (scrollElem, scrollPixel, isScrollDown) {
|
|
15719
|
+
if (isScrollDown) {
|
|
15720
|
+
scrollElem.scrollTop = scrollElem.scrollTop + scrollPixel;
|
|
15721
|
+
}
|
|
15722
|
+
else {
|
|
15723
|
+
scrollElem.scrollTop = scrollElem.scrollTop - scrollPixel;
|
|
15724
|
+
}
|
|
15725
|
+
};
|
|
15726
|
+
ListBox.prototype.stopTimer = function () {
|
|
15727
|
+
window.clearInterval(this.timer);
|
|
15728
|
+
};
|
|
15719
15729
|
ListBox.prototype.beforeDragEnd = function (args) {
|
|
15730
|
+
this.stopTimer();
|
|
15720
15731
|
var items = [];
|
|
15721
15732
|
this.dragValue = this.getFormattedValue(args.droppedElement.getAttribute('data-value'));
|
|
15722
15733
|
if (this.value.indexOf(this.dragValue) > -1) {
|
|
@@ -17167,6 +17178,9 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
17167
17178
|
var list = this.mainList.cloneNode ? this.mainList.cloneNode(true) : this.mainList;
|
|
17168
17179
|
if (backCommand) {
|
|
17169
17180
|
this.remoteCustomValue = false;
|
|
17181
|
+
if (this.isAngular && this.itemTemplate) {
|
|
17182
|
+
list = this.renderItems(this.listData, fields);
|
|
17183
|
+
}
|
|
17170
17184
|
this.onActionComplete(list, this.jsonData);
|
|
17171
17185
|
this.notify('reOrder', { module: 'CheckBoxSelection', enable: this.selectionSettings.showCheckbox, e: this });
|
|
17172
17186
|
}
|
|
@@ -17692,25 +17706,25 @@ var listBoxClasses = {
|
|
|
17692
17706
|
* export all modules from current location
|
|
17693
17707
|
*/
|
|
17694
17708
|
|
|
17695
|
-
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
17696
|
-
var extendStatics = function (d, b) {
|
|
17697
|
-
extendStatics = Object.setPrototypeOf ||
|
|
17698
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17699
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
17700
|
-
return extendStatics(d, b);
|
|
17701
|
-
};
|
|
17702
|
-
return function (d, b) {
|
|
17703
|
-
extendStatics(d, b);
|
|
17704
|
-
function __() { this.constructor = d; }
|
|
17705
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17706
|
-
};
|
|
17707
|
-
})();
|
|
17708
|
-
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17709
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17710
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17711
|
-
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;
|
|
17712
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17713
|
-
};
|
|
17709
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
17710
|
+
var extendStatics = function (d, b) {
|
|
17711
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17712
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17713
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
17714
|
+
return extendStatics(d, b);
|
|
17715
|
+
};
|
|
17716
|
+
return function (d, b) {
|
|
17717
|
+
extendStatics(d, b);
|
|
17718
|
+
function __() { this.constructor = d; }
|
|
17719
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17720
|
+
};
|
|
17721
|
+
})();
|
|
17722
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17723
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17724
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17725
|
+
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;
|
|
17726
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17727
|
+
};
|
|
17714
17728
|
/**
|
|
17715
17729
|
* The Mention component is used to list someone or something based on user input in textarea, input,
|
|
17716
17730
|
* or any other editable element from which the user can select.
|
|
@@ -18001,7 +18015,7 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
18001
18015
|
var currentRange = this.getTextRange();
|
|
18002
18016
|
var lastWordRange = this.getLastLetter(currentRange);
|
|
18003
18017
|
// eslint-disable-next-line security/detect-non-literal-regexp
|
|
18004
|
-
var Regex = new RegExp(this.mentionChar, 'g');
|
|
18018
|
+
var Regex = new RegExp(this.mentionChar.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), 'g');
|
|
18005
18019
|
var charRegex = new RegExp('[a-zA-Z]', 'g');
|
|
18006
18020
|
if (e.key === 'Shift' || e.keyCode === 37 || e.keyCode === 39) {
|
|
18007
18021
|
return;
|
|
@@ -19144,7 +19158,6 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
19144
19158
|
this.previousSelectedLI = null;
|
|
19145
19159
|
this.item = null;
|
|
19146
19160
|
this.selectedLI = null;
|
|
19147
|
-
this.inputElement.innerText = null;
|
|
19148
19161
|
this.popupObj = null;
|
|
19149
19162
|
_super.prototype.destroy.call(this);
|
|
19150
19163
|
};
|