@syncfusion/ej2-dropdowns 23.2.5 → 23.2.7-52849
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 +2152 -2126
- package/{README.md → ReadMe.md} +217 -217
- 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 +84 -65
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +242 -222
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- 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 +25 -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 +21 -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 +41 -27
- package/src/drop-down-tree/drop-down-tree-model.d.ts +468 -468
- package/src/drop-down-tree/drop-down-tree.js +21 -19
- 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 +19 -19
- 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/_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/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/fluent-dark.css +2 -0
- package/styles/fluent.css +2 -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 -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/.eslintrc.json +0 -260
- package/dist/ej2-dropdowns.min.js +0 -10
- package/dist/global/ej2-dropdowns.min.js +0 -11
- package/dist/global/ej2-dropdowns.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/tslint.json +0 -111
|
@@ -195,53 +195,53 @@ 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
|
-
};
|
|
244
|
-
var VirtualScroll = /** @
|
|
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
|
+
var VirtualScroll = /** @class */ (function () {
|
|
245
245
|
function VirtualScroll(parent) {
|
|
246
246
|
var _this = this;
|
|
247
247
|
this.sentinelInfo = {
|
|
@@ -587,26 +587,26 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
587
587
|
* Common source
|
|
588
588
|
*/
|
|
589
589
|
|
|
590
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
|
591
|
-
var extendStatics = function (d, b) {
|
|
592
|
-
extendStatics = Object.setPrototypeOf ||
|
|
593
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
594
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
595
|
-
return extendStatics(d, b);
|
|
596
|
-
};
|
|
597
|
-
return function (d, b) {
|
|
598
|
-
extendStatics(d, b);
|
|
599
|
-
function __() { this.constructor = d; }
|
|
600
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
601
|
-
};
|
|
602
|
-
})();
|
|
603
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
604
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
605
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
606
|
-
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;
|
|
607
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
608
|
-
};
|
|
609
|
-
var FieldSettings = /** @
|
|
590
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
591
|
+
var extendStatics = function (d, b) {
|
|
592
|
+
extendStatics = Object.setPrototypeOf ||
|
|
593
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
594
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
595
|
+
return extendStatics(d, b);
|
|
596
|
+
};
|
|
597
|
+
return function (d, b) {
|
|
598
|
+
extendStatics(d, b);
|
|
599
|
+
function __() { this.constructor = d; }
|
|
600
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
601
|
+
};
|
|
602
|
+
})();
|
|
603
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
604
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
605
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
606
|
+
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;
|
|
607
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
608
|
+
};
|
|
609
|
+
var FieldSettings = /** @class */ (function (_super) {
|
|
610
610
|
__extends(FieldSettings, _super);
|
|
611
611
|
function FieldSettings() {
|
|
612
612
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -655,7 +655,7 @@ var HIDE_GROUPLIST = 'e-hide-group-header';
|
|
|
655
655
|
/**
|
|
656
656
|
* DropDownBase component will generate the list items based on given data and act as base class to drop-down related components
|
|
657
657
|
*/
|
|
658
|
-
var DropDownBase = /** @
|
|
658
|
+
var DropDownBase = /** @class */ (function (_super) {
|
|
659
659
|
__extends(DropDownBase, _super);
|
|
660
660
|
/**
|
|
661
661
|
* * Constructor for DropDownBase class
|
|
@@ -1088,6 +1088,7 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1088
1088
|
if (listItems.length === 0) {
|
|
1089
1089
|
_this.isDataFetched = true;
|
|
1090
1090
|
}
|
|
1091
|
+
_this.isRequesting = false;
|
|
1091
1092
|
_this.dataCount = e.count;
|
|
1092
1093
|
_this.totalItemCount = e.count;
|
|
1093
1094
|
ulElement = _this.renderItems(listItems, fields);
|
|
@@ -1098,7 +1099,6 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1098
1099
|
_this.isRequested = false;
|
|
1099
1100
|
_this.bindChildItems(listItems, ulElement, fields, e);
|
|
1100
1101
|
}
|
|
1101
|
-
_this.isRequesting = false;
|
|
1102
1102
|
});
|
|
1103
1103
|
}).catch(function (e) {
|
|
1104
1104
|
_this.isRequested = false;
|
|
@@ -2033,25 +2033,25 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2033
2033
|
* export all modules from current location
|
|
2034
2034
|
*/
|
|
2035
2035
|
|
|
2036
|
-
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2037
|
-
var extendStatics = function (d, b) {
|
|
2038
|
-
extendStatics = Object.setPrototypeOf ||
|
|
2039
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2040
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2041
|
-
return extendStatics(d, b);
|
|
2042
|
-
};
|
|
2043
|
-
return function (d, b) {
|
|
2044
|
-
extendStatics(d, b);
|
|
2045
|
-
function __() { this.constructor = d; }
|
|
2046
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2047
|
-
};
|
|
2048
|
-
})();
|
|
2049
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2050
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2051
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2052
|
-
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;
|
|
2053
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2054
|
-
};
|
|
2036
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2037
|
+
var extendStatics = function (d, b) {
|
|
2038
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2039
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2040
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2041
|
+
return extendStatics(d, b);
|
|
2042
|
+
};
|
|
2043
|
+
return function (d, b) {
|
|
2044
|
+
extendStatics(d, b);
|
|
2045
|
+
function __() { this.constructor = d; }
|
|
2046
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2047
|
+
};
|
|
2048
|
+
})();
|
|
2049
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2050
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2051
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2052
|
+
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;
|
|
2053
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2054
|
+
};
|
|
2055
2055
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
2056
2056
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
2057
2057
|
// don't use space in classnames
|
|
@@ -2100,7 +2100,7 @@ var inputObject = {
|
|
|
2100
2100
|
* dropDownListObj.appendTo("#list");
|
|
2101
2101
|
* ```
|
|
2102
2102
|
*/
|
|
2103
|
-
var DropDownList = /** @
|
|
2103
|
+
var DropDownList = /** @class */ (function (_super) {
|
|
2104
2104
|
__extends$1(DropDownList, _super);
|
|
2105
2105
|
/**
|
|
2106
2106
|
* * Constructor for creating the DropDownList component.
|
|
@@ -3063,6 +3063,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
3063
3063
|
this.isDocumentClick = true;
|
|
3064
3064
|
var isActive = this.isRequested;
|
|
3065
3065
|
this.hidePopup(e);
|
|
3066
|
+
this.isInteracted = false;
|
|
3066
3067
|
if (!isActive) {
|
|
3067
3068
|
this.onFocusOut();
|
|
3068
3069
|
this.inputWrapper.container.classList.remove(dropDownListClasses.inputFocus);
|
|
@@ -3250,6 +3251,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
3250
3251
|
}
|
|
3251
3252
|
};
|
|
3252
3253
|
DropDownList.prototype.setSelection = function (li, e) {
|
|
3254
|
+
var _this = this;
|
|
3253
3255
|
if (this.isValidLI(li) && (!li.classList.contains(dropDownBaseClasses.selected) || (this.isPopupOpen && this.isSelected
|
|
3254
3256
|
&& li.classList.contains(dropDownBaseClasses.selected)))) {
|
|
3255
3257
|
this.updateSelectedItem(li, e, false, true);
|
|
@@ -3258,10 +3260,21 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
3258
3260
|
this.setSelectOptions(li, e);
|
|
3259
3261
|
if (this.enableVirtualization) {
|
|
3260
3262
|
var fields = (this.fields.value) ? this.fields.value : '';
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3263
|
+
if (this.dataSource instanceof DataManager) {
|
|
3264
|
+
this.dataSource.executeQuery(new Query().where(new Predicate(fields, 'equal', this.value)))
|
|
3265
|
+
.then(function (e) {
|
|
3266
|
+
if (e.result.length > 0) {
|
|
3267
|
+
_this.itemData = e.result[0];
|
|
3268
|
+
_this.setProperties({ 'text': e.result[0].text, 'value': e.result[0].value }, true);
|
|
3269
|
+
}
|
|
3270
|
+
});
|
|
3271
|
+
}
|
|
3272
|
+
else {
|
|
3273
|
+
var getItem = new DataManager(this.dataSource).executeLocal(new Query().where(new Predicate(fields, 'equal', this.value)));
|
|
3274
|
+
if (getItem && getItem.length > 0) {
|
|
3275
|
+
this.itemData = getItem[0];
|
|
3276
|
+
this.setProperties({ 'text': getItem[0].text, 'value': getItem[0].value }, true);
|
|
3277
|
+
}
|
|
3265
3278
|
}
|
|
3266
3279
|
}
|
|
3267
3280
|
}
|
|
@@ -5008,7 +5021,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
5008
5021
|
EventHandler.add(this.list, 'scroll', this.setFloatingHeader, this);
|
|
5009
5022
|
}
|
|
5010
5023
|
if (!(!isNullOrUndefined(props) && (isNullOrUndefined(props.dataSource)
|
|
5011
|
-
|| (!(props.dataSource instanceof DataManager) && props.dataSource.length === 0))) || !(props.dataSource ===
|
|
5024
|
+
|| (!(props.dataSource instanceof DataManager) && props.dataSource.length === 0))) || !(Array.isArray(props.dataSource) && props.dataSource.length === 0)) {
|
|
5012
5025
|
this.typedString = '';
|
|
5013
5026
|
this.resetList(this.dataSource);
|
|
5014
5027
|
}
|
|
@@ -5357,7 +5370,9 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
5357
5370
|
});
|
|
5358
5371
|
}
|
|
5359
5372
|
}
|
|
5360
|
-
this.
|
|
5373
|
+
if (this.beforePopupOpen) {
|
|
5374
|
+
this.invokeRenderPopup(e);
|
|
5375
|
+
}
|
|
5361
5376
|
if (this.enableVirtualization && !this.allowFiltering && this.selectedValueInfo != null && this.selectedValueInfo.startIndex > 0 && this.value != null) {
|
|
5362
5377
|
this.notify("dataProcessAsync", {
|
|
5363
5378
|
module: "VirtualScroll",
|
|
@@ -5417,7 +5432,6 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
5417
5432
|
this.isSelectCustom = false;
|
|
5418
5433
|
this.clearAll(e);
|
|
5419
5434
|
}
|
|
5420
|
-
this.isInteracted = false;
|
|
5421
5435
|
};
|
|
5422
5436
|
/* eslint-disable valid-jsdoc, jsdoc/require-param */
|
|
5423
5437
|
/**
|
|
@@ -5662,25 +5676,25 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
5662
5676
|
* export all modules from current location
|
|
5663
5677
|
*/
|
|
5664
5678
|
|
|
5665
|
-
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
5666
|
-
var extendStatics = function (d, b) {
|
|
5667
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5668
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5669
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5670
|
-
return extendStatics(d, b);
|
|
5671
|
-
};
|
|
5672
|
-
return function (d, b) {
|
|
5673
|
-
extendStatics(d, b);
|
|
5674
|
-
function __() { this.constructor = d; }
|
|
5675
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5676
|
-
};
|
|
5677
|
-
})();
|
|
5678
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5679
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5680
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5681
|
-
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;
|
|
5682
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5683
|
-
};
|
|
5679
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
5680
|
+
var extendStatics = function (d, b) {
|
|
5681
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5682
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5683
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5684
|
+
return extendStatics(d, b);
|
|
5685
|
+
};
|
|
5686
|
+
return function (d, b) {
|
|
5687
|
+
extendStatics(d, b);
|
|
5688
|
+
function __() { this.constructor = d; }
|
|
5689
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5690
|
+
};
|
|
5691
|
+
})();
|
|
5692
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5693
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5694
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5695
|
+
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;
|
|
5696
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5697
|
+
};
|
|
5684
5698
|
var RTL = 'e-rtl';
|
|
5685
5699
|
var DROPDOWNTREE = 'e-ddt';
|
|
5686
5700
|
var HIDDENELEMENT = 'e-ddt-hidden';
|
|
@@ -5730,7 +5744,7 @@ var OVERFLOW_VIEW = 'e-overflow';
|
|
|
5730
5744
|
var SHOW_TEXT = 'e-show-text';
|
|
5731
5745
|
var TOTAL_COUNT_WRAPPER = 'e-total-count';
|
|
5732
5746
|
var REMAIN_COUNT = 'e-wrap-count';
|
|
5733
|
-
var Fields = /** @
|
|
5747
|
+
var Fields = /** @class */ (function (_super) {
|
|
5734
5748
|
__extends$2(Fields, _super);
|
|
5735
5749
|
function Fields() {
|
|
5736
5750
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5782,7 +5796,7 @@ var Fields = /** @__PURE__ @class */ (function (_super) {
|
|
|
5782
5796
|
], Fields.prototype, "value", void 0);
|
|
5783
5797
|
return Fields;
|
|
5784
5798
|
}(ChildProperty));
|
|
5785
|
-
var TreeSettings = /** @
|
|
5799
|
+
var TreeSettings = /** @class */ (function (_super) {
|
|
5786
5800
|
__extends$2(TreeSettings, _super);
|
|
5787
5801
|
function TreeSettings() {
|
|
5788
5802
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5810,7 +5824,7 @@ var TreeSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
5810
5824
|
* ddtObj.appendTo("#tree");
|
|
5811
5825
|
* ```
|
|
5812
5826
|
*/
|
|
5813
|
-
var DropDownTree = /** @
|
|
5827
|
+
var DropDownTree = /** @class */ (function (_super) {
|
|
5814
5828
|
__extends$2(DropDownTree, _super);
|
|
5815
5829
|
function DropDownTree(options, element) {
|
|
5816
5830
|
var _this = _super.call(this, options, element) || this;
|
|
@@ -7143,6 +7157,8 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
7143
7157
|
if (this.isFilteredData) {
|
|
7144
7158
|
this.filterObj.value = '';
|
|
7145
7159
|
this.treeObj.fields = this.getTreeFields(this.fields);
|
|
7160
|
+
if (this.isReact)
|
|
7161
|
+
this.refresh();
|
|
7146
7162
|
this.isFilterRestore = true;
|
|
7147
7163
|
this.isFilteredData = false;
|
|
7148
7164
|
this.hideCheckAll(false);
|
|
@@ -8883,25 +8899,25 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8883
8899
|
* export all modules from current location
|
|
8884
8900
|
*/
|
|
8885
8901
|
|
|
8886
|
-
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
8887
|
-
var extendStatics = function (d, b) {
|
|
8888
|
-
extendStatics = Object.setPrototypeOf ||
|
|
8889
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8890
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8891
|
-
return extendStatics(d, b);
|
|
8892
|
-
};
|
|
8893
|
-
return function (d, b) {
|
|
8894
|
-
extendStatics(d, b);
|
|
8895
|
-
function __() { this.constructor = d; }
|
|
8896
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8897
|
-
};
|
|
8898
|
-
})();
|
|
8899
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8900
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8901
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8902
|
-
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;
|
|
8903
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8904
|
-
};
|
|
8902
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
8903
|
+
var extendStatics = function (d, b) {
|
|
8904
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8905
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8906
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8907
|
+
return extendStatics(d, b);
|
|
8908
|
+
};
|
|
8909
|
+
return function (d, b) {
|
|
8910
|
+
extendStatics(d, b);
|
|
8911
|
+
function __() { this.constructor = d; }
|
|
8912
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8913
|
+
};
|
|
8914
|
+
})();
|
|
8915
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8916
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8917
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8918
|
+
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;
|
|
8919
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8920
|
+
};
|
|
8905
8921
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
8906
8922
|
/// <reference path='../drop-down-list/drop-down-list-model.d.ts'/>
|
|
8907
8923
|
var SPINNER_CLASS = 'e-atc-spinner-icon';
|
|
@@ -8926,7 +8942,7 @@ var inputObject$1 = {
|
|
|
8926
8942
|
* games.appendTo("#list");
|
|
8927
8943
|
* ```
|
|
8928
8944
|
*/
|
|
8929
|
-
var ComboBox = /** @
|
|
8945
|
+
var ComboBox = /** @class */ (function (_super) {
|
|
8930
8946
|
__extends$3(ComboBox, _super);
|
|
8931
8947
|
/**
|
|
8932
8948
|
* *Constructor for creating the component
|
|
@@ -9751,25 +9767,25 @@ var ComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
9751
9767
|
* export all modules from current location
|
|
9752
9768
|
*/
|
|
9753
9769
|
|
|
9754
|
-
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
9755
|
-
var extendStatics = function (d, b) {
|
|
9756
|
-
extendStatics = Object.setPrototypeOf ||
|
|
9757
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9758
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
9759
|
-
return extendStatics(d, b);
|
|
9760
|
-
};
|
|
9761
|
-
return function (d, b) {
|
|
9762
|
-
extendStatics(d, b);
|
|
9763
|
-
function __() { this.constructor = d; }
|
|
9764
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9765
|
-
};
|
|
9766
|
-
})();
|
|
9767
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9768
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9769
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9770
|
-
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;
|
|
9771
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9772
|
-
};
|
|
9770
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
9771
|
+
var extendStatics = function (d, b) {
|
|
9772
|
+
extendStatics = Object.setPrototypeOf ||
|
|
9773
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9774
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
9775
|
+
return extendStatics(d, b);
|
|
9776
|
+
};
|
|
9777
|
+
return function (d, b) {
|
|
9778
|
+
extendStatics(d, b);
|
|
9779
|
+
function __() { this.constructor = d; }
|
|
9780
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9781
|
+
};
|
|
9782
|
+
})();
|
|
9783
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9784
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9785
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9786
|
+
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;
|
|
9787
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9788
|
+
};
|
|
9773
9789
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
9774
9790
|
/// <reference path='../combo-box/combo-box-model.d.ts'/>
|
|
9775
9791
|
dropDownListClasses.root = 'e-autocomplete';
|
|
@@ -9785,7 +9801,7 @@ dropDownListClasses.icon = 'e-input-group-icon e-ddl-icon e-search-icon';
|
|
|
9785
9801
|
* atcObj.appendTo("#list");
|
|
9786
9802
|
* ```
|
|
9787
9803
|
*/
|
|
9788
|
-
var AutoComplete = /** @
|
|
9804
|
+
var AutoComplete = /** @class */ (function (_super) {
|
|
9789
9805
|
__extends$4(AutoComplete, _super);
|
|
9790
9806
|
/**
|
|
9791
9807
|
* * Constructor for creating the widget
|
|
@@ -10001,6 +10017,10 @@ var AutoComplete = /** @__PURE__ @class */ (function (_super) {
|
|
|
10001
10017
|
}, 0);
|
|
10002
10018
|
}
|
|
10003
10019
|
else {
|
|
10020
|
+
var isHtmlElement = /<[^>]*>/g.test(e.item.innerText);
|
|
10021
|
+
if (isHtmlElement) {
|
|
10022
|
+
e.item.innerText = e.item.innerText.replace(/[\u00A0-\u9999<>&]/g, function (match) { return "&#" + match.charCodeAt(0) + ";"; });
|
|
10023
|
+
}
|
|
10004
10024
|
highlightSearch(e.item, _this_1.queryString, _this_1.ignoreCase, _this_1.filterType);
|
|
10005
10025
|
}
|
|
10006
10026
|
}
|
|
@@ -10378,25 +10398,25 @@ function encodePlaceholder(placeholder) {
|
|
|
10378
10398
|
}
|
|
10379
10399
|
/* eslint-enable valid-jsdoc */
|
|
10380
10400
|
|
|
10381
|
-
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
10382
|
-
var extendStatics = function (d, b) {
|
|
10383
|
-
extendStatics = Object.setPrototypeOf ||
|
|
10384
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10385
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
10386
|
-
return extendStatics(d, b);
|
|
10387
|
-
};
|
|
10388
|
-
return function (d, b) {
|
|
10389
|
-
extendStatics(d, b);
|
|
10390
|
-
function __() { this.constructor = d; }
|
|
10391
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10392
|
-
};
|
|
10393
|
-
})();
|
|
10394
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10395
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10396
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10397
|
-
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;
|
|
10398
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10399
|
-
};
|
|
10401
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
10402
|
+
var extendStatics = function (d, b) {
|
|
10403
|
+
extendStatics = Object.setPrototypeOf ||
|
|
10404
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10405
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
10406
|
+
return extendStatics(d, b);
|
|
10407
|
+
};
|
|
10408
|
+
return function (d, b) {
|
|
10409
|
+
extendStatics(d, b);
|
|
10410
|
+
function __() { this.constructor = d; }
|
|
10411
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10412
|
+
};
|
|
10413
|
+
})();
|
|
10414
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10415
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10416
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10417
|
+
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;
|
|
10418
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10419
|
+
};
|
|
10400
10420
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
10401
10421
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
10402
10422
|
var FOCUS = 'e-input-focus';
|
|
@@ -10453,7 +10473,7 @@ var FILTERINPUT = 'e-input-filter';
|
|
|
10453
10473
|
* </script>
|
|
10454
10474
|
* ```
|
|
10455
10475
|
*/
|
|
10456
|
-
var MultiSelect = /** @
|
|
10476
|
+
var MultiSelect = /** @class */ (function (_super) {
|
|
10457
10477
|
__extends$5(MultiSelect, _super);
|
|
10458
10478
|
/**
|
|
10459
10479
|
* Constructor for creating the DropDownList widget.
|
|
@@ -12982,7 +13002,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
12982
13002
|
MultiSelect.prototype.updateDataList = function () {
|
|
12983
13003
|
if (this.mainList && this.ulElement && !(this.isFiltered || this.filterAction || this.targetElement().trim())) {
|
|
12984
13004
|
var isDynamicGroupItemUpdate = this.mainList.childElementCount < this.ulElement.childElementCount;
|
|
12985
|
-
var isReactTemplateUpdate = ((this.ulElement.childElementCount > 0 && this.ulElement.children[0].childElementCount > 0) && (this.mainList.children[0]
|
|
13005
|
+
var isReactTemplateUpdate = ((this.ulElement.childElementCount > 0 && this.ulElement.children[0].childElementCount > 0) && (this.mainList.children[0] && (this.mainList.children[0].childElementCount < this.ulElement.children[0].childElementCount)));
|
|
12986
13006
|
var isAngularTemplateUpdate = this.itemTemplate && this.ulElement.childElementCount > 0 && !(this.ulElement.childElementCount < this.mainList.childElementCount) && (this.ulElement.children[0].childElementCount > 0 || (this.fields.groupBy && this.ulElement.children[1] && this.ulElement.children[1].childElementCount > 0));
|
|
12987
13007
|
if (isDynamicGroupItemUpdate || isReactTemplateUpdate || isAngularTemplateUpdate) {
|
|
12988
13008
|
//EJ2-57748 - for this task, we prevent the ul element cloning ( this.mainList = this.ulElement.cloneNode ? <HTMLElement>this.ulElement.cloneNode(true) : this.ulElement;)
|
|
@@ -14777,7 +14797,7 @@ var FOCUS$1 = 'e-input-focus';
|
|
|
14777
14797
|
/**
|
|
14778
14798
|
* The Multiselect enable CheckBoxSelection call this inject module.
|
|
14779
14799
|
*/
|
|
14780
|
-
var CheckBoxSelection = /** @
|
|
14800
|
+
var CheckBoxSelection = /** @class */ (function () {
|
|
14781
14801
|
function CheckBoxSelection(parent) {
|
|
14782
14802
|
this.activeLi = [];
|
|
14783
14803
|
this.activeEle = [];
|
|
@@ -15273,31 +15293,31 @@ var CheckBoxSelection = /** @__PURE__ @class */ (function () {
|
|
|
15273
15293
|
* export all modules from current location
|
|
15274
15294
|
*/
|
|
15275
15295
|
|
|
15276
|
-
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
15277
|
-
var extendStatics = function (d, b) {
|
|
15278
|
-
extendStatics = Object.setPrototypeOf ||
|
|
15279
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15280
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15281
|
-
return extendStatics(d, b);
|
|
15282
|
-
};
|
|
15283
|
-
return function (d, b) {
|
|
15284
|
-
extendStatics(d, b);
|
|
15285
|
-
function __() { this.constructor = d; }
|
|
15286
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15287
|
-
};
|
|
15288
|
-
})();
|
|
15289
|
-
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
15290
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15291
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15292
|
-
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;
|
|
15293
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15294
|
-
};
|
|
15296
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
15297
|
+
var extendStatics = function (d, b) {
|
|
15298
|
+
extendStatics = Object.setPrototypeOf ||
|
|
15299
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15300
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15301
|
+
return extendStatics(d, b);
|
|
15302
|
+
};
|
|
15303
|
+
return function (d, b) {
|
|
15304
|
+
extendStatics(d, b);
|
|
15305
|
+
function __() { this.constructor = d; }
|
|
15306
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15307
|
+
};
|
|
15308
|
+
})();
|
|
15309
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
15310
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15311
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15312
|
+
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;
|
|
15313
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15314
|
+
};
|
|
15295
15315
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
15296
15316
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
15297
15317
|
/**
|
|
15298
15318
|
* Defines the Selection settings of List Box.
|
|
15299
15319
|
*/
|
|
15300
|
-
var SelectionSettings = /** @
|
|
15320
|
+
var SelectionSettings = /** @class */ (function (_super) {
|
|
15301
15321
|
__extends$6(SelectionSettings, _super);
|
|
15302
15322
|
function SelectionSettings() {
|
|
15303
15323
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -15319,7 +15339,7 @@ var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
15319
15339
|
/**
|
|
15320
15340
|
* Defines the toolbar settings of List Box.
|
|
15321
15341
|
*/
|
|
15322
|
-
var ToolbarSettings = /** @
|
|
15342
|
+
var ToolbarSettings = /** @class */ (function (_super) {
|
|
15323
15343
|
__extends$6(ToolbarSettings, _super);
|
|
15324
15344
|
function ToolbarSettings() {
|
|
15325
15345
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -15352,7 +15372,7 @@ var ToolbarSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
15352
15372
|
* </script>
|
|
15353
15373
|
* ```
|
|
15354
15374
|
*/
|
|
15355
|
-
var ListBox = /** @
|
|
15375
|
+
var ListBox = /** @class */ (function (_super) {
|
|
15356
15376
|
__extends$6(ListBox, _super);
|
|
15357
15377
|
/**
|
|
15358
15378
|
* Constructor for creating the ListBox component.
|
|
@@ -17726,30 +17746,30 @@ var listBoxClasses = {
|
|
|
17726
17746
|
* export all modules from current location
|
|
17727
17747
|
*/
|
|
17728
17748
|
|
|
17729
|
-
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
17730
|
-
var extendStatics = function (d, b) {
|
|
17731
|
-
extendStatics = Object.setPrototypeOf ||
|
|
17732
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17733
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
17734
|
-
return extendStatics(d, b);
|
|
17735
|
-
};
|
|
17736
|
-
return function (d, b) {
|
|
17737
|
-
extendStatics(d, b);
|
|
17738
|
-
function __() { this.constructor = d; }
|
|
17739
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17740
|
-
};
|
|
17741
|
-
})();
|
|
17742
|
-
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17743
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17744
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17745
|
-
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;
|
|
17746
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17747
|
-
};
|
|
17749
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
17750
|
+
var extendStatics = function (d, b) {
|
|
17751
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17752
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17753
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
17754
|
+
return extendStatics(d, b);
|
|
17755
|
+
};
|
|
17756
|
+
return function (d, b) {
|
|
17757
|
+
extendStatics(d, b);
|
|
17758
|
+
function __() { this.constructor = d; }
|
|
17759
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17760
|
+
};
|
|
17761
|
+
})();
|
|
17762
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17763
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17764
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17765
|
+
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;
|
|
17766
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17767
|
+
};
|
|
17748
17768
|
/**
|
|
17749
17769
|
* The Mention component is used to list someone or something based on user input in textarea, input,
|
|
17750
17770
|
* or any other editable element from which the user can select.
|
|
17751
17771
|
*/
|
|
17752
|
-
var Mention = /** @
|
|
17772
|
+
var Mention = /** @class */ (function (_super) {
|
|
17753
17773
|
__extends$7(Mention, _super);
|
|
17754
17774
|
/**
|
|
17755
17775
|
* * Constructor for creating the widget
|