@syncfusion/ej2-dropdowns 23.1.40-85814 → 23.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +260 -0
- package/CHANGELOG.md +2057 -2042
- package/{ReadMe.md → README.md} +217 -217
- package/dist/ej2-dropdowns.min.js +10 -0
- package/dist/ej2-dropdowns.umd.min.js +10 -1
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +101 -60
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +243 -202
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +10 -1
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +9 -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 +79 -79
- package/src/auto-complete/auto-complete-model.d.ts +188 -188
- package/src/auto-complete/auto-complete.d.ts +12 -12
- package/src/auto-complete/auto-complete.js +21 -21
- package/src/combo-box/combo-box-model.d.ts +224 -224
- package/src/combo-box/combo-box.d.ts +27 -27
- package/src/combo-box/combo-box.js +29 -29
- package/src/common/virtual-scroll.js +46 -46
- package/src/drop-down-base/drop-down-base-model.d.ts +200 -200
- package/src/drop-down-base/drop-down-base.d.ts +16 -15
- package/src/drop-down-base/drop-down-base.js +25 -20
- package/src/drop-down-list/drop-down-list-model.d.ts +202 -202
- package/src/drop-down-list/drop-down-list.d.ts +7 -4
- package/src/drop-down-list/drop-down-list.js +53 -22
- package/src/drop-down-tree/drop-down-tree-model.d.ts +468 -468
- package/src/drop-down-tree/drop-down-tree.js +21 -21
- 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 +24 -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 +1 -1
- package/styles/bootstrap.css +1 -1
- package/styles/bootstrap4.css +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +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 +1412 -1418
- 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 +0 -2
- package/styles/drop-down-tree/fluent.css +0 -2
- 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 +1 -1
- package/styles/fabric.css +1 -1
- package/styles/fluent-dark.css +1 -3
- package/styles/fluent.css +1 -3
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast.css +1 -1
- 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/bootstrap-dark.css +1 -1
- package/styles/list-box/bootstrap.css +1 -1
- package/styles/list-box/bootstrap4.css +1 -1
- package/styles/list-box/bootstrap5-dark.css +1 -1
- package/styles/list-box/bootstrap5.css +1 -1
- package/styles/list-box/fabric-dark.css +1 -1
- package/styles/list-box/fabric.css +1 -1
- package/styles/list-box/fluent-dark.css +1 -1
- package/styles/list-box/fluent.css +1 -1
- package/styles/list-box/highcontrast-light.css +1 -1
- package/styles/list-box/highcontrast.css +1 -1
- 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/material-dark.css +1 -1
- package/styles/list-box/material.css +1 -1
- package/styles/list-box/material3-dark.css +1 -1
- package/styles/list-box/material3-dark.scss +1 -1
- package/styles/list-box/material3.css +1 -1
- package/styles/list-box/material3.scss +1 -1
- package/styles/list-box/tailwind-dark.css +1 -1
- package/styles/list-box/tailwind.css +1 -1
- package/styles/material-dark.css +1 -1
- package/styles/material.css +1 -1
- package/styles/material3-dark.css +1 -1
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +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 +198 -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 +229 -229
- package/styles/multi-select/_fabric-dark-definition.scss +187 -187
- package/styles/multi-select/_fabric-definition.scss +183 -183
- package/styles/multi-select/_fluent-definition.scss +240 -240
- package/styles/multi-select/_fusionnew-definition.scss +227 -227
- package/styles/multi-select/_highcontrast-definition.scss +298 -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 +234 -234
- package/styles/multi-select/_theme.scss +586 -586
- package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
- package/styles/multi-select/icons/_bootstrap.scss +26 -26
- package/styles/multi-select/icons/_bootstrap4.scss +37 -37
- package/styles/multi-select/icons/_bootstrap5.scss +26 -26
- package/styles/multi-select/icons/_fabric-dark.scss +26 -26
- package/styles/multi-select/icons/_fabric.scss +26 -26
- package/styles/multi-select/icons/_fluent.scss +55 -55
- package/styles/multi-select/icons/_fusionnew.scss +26 -26
- package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
- package/styles/multi-select/icons/_highcontrast.scss +26 -26
- package/styles/multi-select/icons/_material-dark.scss +693 -693
- package/styles/multi-select/icons/_material.scss +693 -693
- package/styles/multi-select/icons/_material3.scss +692 -692
- package/styles/multi-select/icons/_tailwind.scss +26 -26
- package/styles/multi-select/material3-dark.scss +1 -1
- package/styles/multi-select/material3.scss +1 -1
- package/styles/tailwind-dark.css +1 -1
- package/styles/tailwind.css +1 -1
- package/tslint.json +111 -0
- package/dist/ts/auto-complete/auto-complete.ts +0 -615
- package/dist/ts/combo-box/combo-box.ts +0 -1028
- package/dist/ts/common/highlight-search.ts +0 -57
- package/dist/ts/common/incremental-search.ts +0 -131
- package/dist/ts/common/interface.ts +0 -72
- package/dist/ts/common/virtual-scroll.ts +0 -354
- package/dist/ts/drop-down-base/drop-down-base.ts +0 -1838
- package/dist/ts/drop-down-list/drop-down-list.ts +0 -3889
- package/dist/ts/drop-down-tree/drop-down-tree.ts +0 -3750
- package/dist/ts/list-box/list-box.ts +0 -2736
- package/dist/ts/mention/mention.ts +0 -1828
- package/dist/ts/multi-select/checkbox-selection.ts +0 -547
- package/dist/ts/multi-select/float-label.ts +0 -176
- package/dist/ts/multi-select/interface.ts +0 -70
- package/dist/ts/multi-select/multi-select.ts +0 -4874
|
@@ -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() {
|
|
@@ -1697,6 +1697,11 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1697
1697
|
this.initialize(e);
|
|
1698
1698
|
}
|
|
1699
1699
|
};
|
|
1700
|
+
DropDownBase.prototype.removeScrollEvent = function () {
|
|
1701
|
+
if (this.list) {
|
|
1702
|
+
EventHandler.remove(this.list, 'scroll', this.setFloatingHeader);
|
|
1703
|
+
}
|
|
1704
|
+
};
|
|
1700
1705
|
/**
|
|
1701
1706
|
* Return the module name of this component.
|
|
1702
1707
|
*
|
|
@@ -1997,25 +2002,25 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1997
2002
|
* export all modules from current location
|
|
1998
2003
|
*/
|
|
1999
2004
|
|
|
2000
|
-
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2001
|
-
var extendStatics = function (d, b) {
|
|
2002
|
-
extendStatics = Object.setPrototypeOf ||
|
|
2003
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2004
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2005
|
-
return extendStatics(d, b);
|
|
2006
|
-
};
|
|
2007
|
-
return function (d, b) {
|
|
2008
|
-
extendStatics(d, b);
|
|
2009
|
-
function __() { this.constructor = d; }
|
|
2010
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2011
|
-
};
|
|
2012
|
-
})();
|
|
2013
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2014
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2015
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2016
|
-
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;
|
|
2017
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2018
|
-
};
|
|
2005
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2006
|
+
var extendStatics = function (d, b) {
|
|
2007
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2008
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2009
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2010
|
+
return extendStatics(d, b);
|
|
2011
|
+
};
|
|
2012
|
+
return function (d, b) {
|
|
2013
|
+
extendStatics(d, b);
|
|
2014
|
+
function __() { this.constructor = d; }
|
|
2015
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2016
|
+
};
|
|
2017
|
+
})();
|
|
2018
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2019
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2020
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2021
|
+
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;
|
|
2022
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2023
|
+
};
|
|
2019
2024
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
2020
2025
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
2021
2026
|
// don't use space in classnames
|
|
@@ -2094,6 +2099,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
2094
2099
|
_this.pageCount = 0;
|
|
2095
2100
|
_this.isPreventKeyAction = false;
|
|
2096
2101
|
_this.generatedDataObject = {};
|
|
2102
|
+
_this.isTouched = false;
|
|
2097
2103
|
_this.virtualListInfo = {
|
|
2098
2104
|
currentPageNumber: null,
|
|
2099
2105
|
direction: null,
|
|
@@ -3863,7 +3869,12 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
3863
3869
|
this.updateActionCompleteDataValues(ulElement, list);
|
|
3864
3870
|
}
|
|
3865
3871
|
}
|
|
3866
|
-
|
|
3872
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3873
|
+
if ((this.allowCustom || (this.allowFiltering && !this.isValueInList(list, this.value) && this.dataSource instanceof DataManager)) && !this.enableVirtualization) {
|
|
3874
|
+
this.addNewItem(list, selectedItem);
|
|
3875
|
+
}
|
|
3876
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3877
|
+
else if ((this.allowCustom || (this.allowFiltering && this.isValueInList(list, this.value))) && !this.enableVirtualization) {
|
|
3867
3878
|
this.addNewItem(list, selectedItem);
|
|
3868
3879
|
}
|
|
3869
3880
|
if (!isNullOrUndefined(this.itemData) || (isNullOrUndefined(this.itemData) && this.enableVirtualization)) {
|
|
@@ -3897,6 +3908,24 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
3897
3908
|
}
|
|
3898
3909
|
};
|
|
3899
3910
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3911
|
+
DropDownList.prototype.isValueInList = function (list, valueToFind) {
|
|
3912
|
+
if (Array.isArray(list)) {
|
|
3913
|
+
for (var i = 0; i < list.length; i++) {
|
|
3914
|
+
if (list[i] === valueToFind) {
|
|
3915
|
+
return true;
|
|
3916
|
+
}
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
else if (typeof list === 'object' && list !== null) {
|
|
3920
|
+
for (var key in list) {
|
|
3921
|
+
if (Object.prototype.hasOwnProperty.call(list, key) && list[key] === valueToFind) {
|
|
3922
|
+
return true;
|
|
3923
|
+
}
|
|
3924
|
+
}
|
|
3925
|
+
}
|
|
3926
|
+
return false;
|
|
3927
|
+
};
|
|
3928
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3900
3929
|
DropDownList.prototype.checkFieldValue = function (list, fieldValue) {
|
|
3901
3930
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3902
3931
|
var checkField = list;
|
|
@@ -4661,6 +4690,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
4661
4690
|
* @returns {void}
|
|
4662
4691
|
*/
|
|
4663
4692
|
DropDownList.prototype.render = function () {
|
|
4693
|
+
this.preselectedIndex = !isNullOrUndefined(this.index) ? this.index : null;
|
|
4664
4694
|
if (this.element.tagName === 'INPUT') {
|
|
4665
4695
|
this.inputElement = this.element;
|
|
4666
4696
|
if (isNullOrUndefined(this.inputElement.getAttribute('role'))) {
|
|
@@ -4898,7 +4928,6 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
4898
4928
|
if (this.allowFiltering && newProp.dataSource && !isNullOrUndefined(Object.keys(newProp.dataSource))) {
|
|
4899
4929
|
this.actionCompleteData = { ulElement: null, list: null, isUpdated: false };
|
|
4900
4930
|
this.actionData = this.actionCompleteData;
|
|
4901
|
-
this.itemData = null;
|
|
4902
4931
|
}
|
|
4903
4932
|
else if (this.allowFiltering && newProp.query && !isNullOrUndefined(Object.keys(newProp.query))) {
|
|
4904
4933
|
this.actionCompleteData = this.getModuleName() === 'combobox' ?
|
|
@@ -4944,6 +4973,13 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
4944
4973
|
*/
|
|
4945
4974
|
DropDownList.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
4946
4975
|
var _this = this;
|
|
4976
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4977
|
+
if (!isNullOrUndefined(newProp.dataSource) && !this.isTouched && (isNullOrUndefined(newProp.value) && isNullOrUndefined(newProp.index)) && !isNullOrUndefined(this.preselectedIndex)) {
|
|
4978
|
+
newProp.index = this.preselectedIndex;
|
|
4979
|
+
}
|
|
4980
|
+
if (!isNullOrUndefined(newProp.value) || !isNullOrUndefined(newProp.index)) {
|
|
4981
|
+
this.isTouched = true;
|
|
4982
|
+
}
|
|
4947
4983
|
if (this.getModuleName() === 'dropdownlist') {
|
|
4948
4984
|
this.checkData(newProp);
|
|
4949
4985
|
this.setUpdateInitial(['fields', 'query', 'dataSource'], newProp);
|
|
@@ -5562,25 +5598,25 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
5562
5598
|
* export all modules from current location
|
|
5563
5599
|
*/
|
|
5564
5600
|
|
|
5565
|
-
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
5566
|
-
var extendStatics = function (d, b) {
|
|
5567
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5568
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5569
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5570
|
-
return extendStatics(d, b);
|
|
5571
|
-
};
|
|
5572
|
-
return function (d, b) {
|
|
5573
|
-
extendStatics(d, b);
|
|
5574
|
-
function __() { this.constructor = d; }
|
|
5575
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5576
|
-
};
|
|
5577
|
-
})();
|
|
5578
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5579
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5580
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5581
|
-
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;
|
|
5582
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5583
|
-
};
|
|
5601
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
5602
|
+
var extendStatics = function (d, b) {
|
|
5603
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5604
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5605
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5606
|
+
return extendStatics(d, b);
|
|
5607
|
+
};
|
|
5608
|
+
return function (d, b) {
|
|
5609
|
+
extendStatics(d, b);
|
|
5610
|
+
function __() { this.constructor = d; }
|
|
5611
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5612
|
+
};
|
|
5613
|
+
})();
|
|
5614
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
5615
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5616
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5617
|
+
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;
|
|
5618
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5619
|
+
};
|
|
5584
5620
|
var RTL = 'e-rtl';
|
|
5585
5621
|
var DROPDOWNTREE = 'e-ddt';
|
|
5586
5622
|
var HIDDENELEMENT = 'e-ddt-hidden';
|
|
@@ -7524,12 +7560,12 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
7524
7560
|
var nodes = this.treeObj.element.querySelectorAll('li');
|
|
7525
7561
|
var checkedNodes = this.treeObj.element.querySelectorAll('li .e-checkbox-wrapper[aria-checked=true]');
|
|
7526
7562
|
var wrap = closest(this.checkBoxElement, '.' + CHECKBOXWRAP);
|
|
7527
|
-
if (wrap && args.action === 'uncheck' && (args.isInteracted || checkedNodes.length === 0)) {
|
|
7563
|
+
if (wrap && args.action === 'uncheck' && (args.isInteracted || checkedNodes.length === 0 || args.data[0].isChecked == "false")) {
|
|
7528
7564
|
this.isReverseUpdate = true;
|
|
7529
7565
|
this.changeState(wrap, 'uncheck');
|
|
7530
7566
|
this.isReverseUpdate = false;
|
|
7531
7567
|
}
|
|
7532
|
-
else if (wrap && args.action === 'check' && checkedNodes.length === nodes.length && (args.isInteracted || this.isCheckAllCalled)) {
|
|
7568
|
+
else if (wrap && args.action === 'check' && checkedNodes.length === nodes.length && (args.isInteracted || this.isCheckAllCalled || args.data[0].isChecked == "true")) {
|
|
7533
7569
|
this.isReverseUpdate = true;
|
|
7534
7570
|
this.isCheckAllCalled = false;
|
|
7535
7571
|
this.changeState(wrap, 'check');
|
|
@@ -8783,25 +8819,25 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8783
8819
|
* export all modules from current location
|
|
8784
8820
|
*/
|
|
8785
8821
|
|
|
8786
|
-
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
8787
|
-
var extendStatics = function (d, b) {
|
|
8788
|
-
extendStatics = Object.setPrototypeOf ||
|
|
8789
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8790
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8791
|
-
return extendStatics(d, b);
|
|
8792
|
-
};
|
|
8793
|
-
return function (d, b) {
|
|
8794
|
-
extendStatics(d, b);
|
|
8795
|
-
function __() { this.constructor = d; }
|
|
8796
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8797
|
-
};
|
|
8798
|
-
})();
|
|
8799
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8800
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8801
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8802
|
-
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;
|
|
8803
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8804
|
-
};
|
|
8822
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
8823
|
+
var extendStatics = function (d, b) {
|
|
8824
|
+
extendStatics = Object.setPrototypeOf ||
|
|
8825
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
8826
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
8827
|
+
return extendStatics(d, b);
|
|
8828
|
+
};
|
|
8829
|
+
return function (d, b) {
|
|
8830
|
+
extendStatics(d, b);
|
|
8831
|
+
function __() { this.constructor = d; }
|
|
8832
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
8833
|
+
};
|
|
8834
|
+
})();
|
|
8835
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8836
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8837
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8838
|
+
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;
|
|
8839
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8840
|
+
};
|
|
8805
8841
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
8806
8842
|
/// <reference path='../drop-down-list/drop-down-list-model.d.ts'/>
|
|
8807
8843
|
var SPINNER_CLASS = 'e-atc-spinner-icon';
|
|
@@ -9651,25 +9687,25 @@ var ComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
9651
9687
|
* export all modules from current location
|
|
9652
9688
|
*/
|
|
9653
9689
|
|
|
9654
|
-
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
9655
|
-
var extendStatics = function (d, b) {
|
|
9656
|
-
extendStatics = Object.setPrototypeOf ||
|
|
9657
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9658
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
9659
|
-
return extendStatics(d, b);
|
|
9660
|
-
};
|
|
9661
|
-
return function (d, b) {
|
|
9662
|
-
extendStatics(d, b);
|
|
9663
|
-
function __() { this.constructor = d; }
|
|
9664
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9665
|
-
};
|
|
9666
|
-
})();
|
|
9667
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9668
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9669
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9670
|
-
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;
|
|
9671
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9672
|
-
};
|
|
9690
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
9691
|
+
var extendStatics = function (d, b) {
|
|
9692
|
+
extendStatics = Object.setPrototypeOf ||
|
|
9693
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
9694
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
9695
|
+
return extendStatics(d, b);
|
|
9696
|
+
};
|
|
9697
|
+
return function (d, b) {
|
|
9698
|
+
extendStatics(d, b);
|
|
9699
|
+
function __() { this.constructor = d; }
|
|
9700
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9701
|
+
};
|
|
9702
|
+
})();
|
|
9703
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9704
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9705
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9706
|
+
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;
|
|
9707
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9708
|
+
};
|
|
9673
9709
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
9674
9710
|
/// <reference path='../combo-box/combo-box-model.d.ts'/>
|
|
9675
9711
|
dropDownListClasses.root = 'e-autocomplete';
|
|
@@ -10278,25 +10314,25 @@ function encodePlaceholder(placeholder) {
|
|
|
10278
10314
|
}
|
|
10279
10315
|
/* eslint-enable valid-jsdoc */
|
|
10280
10316
|
|
|
10281
|
-
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
10282
|
-
var extendStatics = function (d, b) {
|
|
10283
|
-
extendStatics = Object.setPrototypeOf ||
|
|
10284
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10285
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
10286
|
-
return extendStatics(d, b);
|
|
10287
|
-
};
|
|
10288
|
-
return function (d, b) {
|
|
10289
|
-
extendStatics(d, b);
|
|
10290
|
-
function __() { this.constructor = d; }
|
|
10291
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10292
|
-
};
|
|
10293
|
-
})();
|
|
10294
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10295
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10296
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10297
|
-
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;
|
|
10298
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10299
|
-
};
|
|
10317
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
10318
|
+
var extendStatics = function (d, b) {
|
|
10319
|
+
extendStatics = Object.setPrototypeOf ||
|
|
10320
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10321
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
10322
|
+
return extendStatics(d, b);
|
|
10323
|
+
};
|
|
10324
|
+
return function (d, b) {
|
|
10325
|
+
extendStatics(d, b);
|
|
10326
|
+
function __() { this.constructor = d; }
|
|
10327
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10328
|
+
};
|
|
10329
|
+
})();
|
|
10330
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10331
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10332
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10333
|
+
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;
|
|
10334
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10335
|
+
};
|
|
10300
10336
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
10301
10337
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
10302
10338
|
var FOCUS = 'e-input-focus';
|
|
@@ -13956,6 +13992,11 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
13956
13992
|
}
|
|
13957
13993
|
this.updateSelectElementData(this.allowFiltering);
|
|
13958
13994
|
break;
|
|
13995
|
+
case 'fields':
|
|
13996
|
+
if (isNullOrUndefined(this.fields.groupBy)) {
|
|
13997
|
+
this.removeScrollEvent();
|
|
13998
|
+
}
|
|
13999
|
+
break;
|
|
13959
14000
|
default:
|
|
13960
14001
|
{
|
|
13961
14002
|
// eslint-disable-next-line max-len
|
|
@@ -15168,25 +15209,25 @@ var CheckBoxSelection = /** @__PURE__ @class */ (function () {
|
|
|
15168
15209
|
* export all modules from current location
|
|
15169
15210
|
*/
|
|
15170
15211
|
|
|
15171
|
-
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
15172
|
-
var extendStatics = function (d, b) {
|
|
15173
|
-
extendStatics = Object.setPrototypeOf ||
|
|
15174
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15175
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15176
|
-
return extendStatics(d, b);
|
|
15177
|
-
};
|
|
15178
|
-
return function (d, b) {
|
|
15179
|
-
extendStatics(d, b);
|
|
15180
|
-
function __() { this.constructor = d; }
|
|
15181
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15182
|
-
};
|
|
15183
|
-
})();
|
|
15184
|
-
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
15185
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15186
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15187
|
-
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;
|
|
15188
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15189
|
-
};
|
|
15212
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
15213
|
+
var extendStatics = function (d, b) {
|
|
15214
|
+
extendStatics = Object.setPrototypeOf ||
|
|
15215
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15216
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15217
|
+
return extendStatics(d, b);
|
|
15218
|
+
};
|
|
15219
|
+
return function (d, b) {
|
|
15220
|
+
extendStatics(d, b);
|
|
15221
|
+
function __() { this.constructor = d; }
|
|
15222
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15223
|
+
};
|
|
15224
|
+
})();
|
|
15225
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
15226
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15227
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15228
|
+
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;
|
|
15229
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15230
|
+
};
|
|
15190
15231
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
15191
15232
|
/// <reference path='../drop-down-base/drop-down-base-model.d.ts'/>
|
|
15192
15233
|
/**
|
|
@@ -17604,25 +17645,25 @@ var listBoxClasses = {
|
|
|
17604
17645
|
* export all modules from current location
|
|
17605
17646
|
*/
|
|
17606
17647
|
|
|
17607
|
-
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
17608
|
-
var extendStatics = function (d, b) {
|
|
17609
|
-
extendStatics = Object.setPrototypeOf ||
|
|
17610
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17611
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
17612
|
-
return extendStatics(d, b);
|
|
17613
|
-
};
|
|
17614
|
-
return function (d, b) {
|
|
17615
|
-
extendStatics(d, b);
|
|
17616
|
-
function __() { this.constructor = d; }
|
|
17617
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17618
|
-
};
|
|
17619
|
-
})();
|
|
17620
|
-
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17621
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17622
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17623
|
-
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;
|
|
17624
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17625
|
-
};
|
|
17648
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
17649
|
+
var extendStatics = function (d, b) {
|
|
17650
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17651
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17652
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
17653
|
+
return extendStatics(d, b);
|
|
17654
|
+
};
|
|
17655
|
+
return function (d, b) {
|
|
17656
|
+
extendStatics(d, b);
|
|
17657
|
+
function __() { this.constructor = d; }
|
|
17658
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17659
|
+
};
|
|
17660
|
+
})();
|
|
17661
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17662
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17663
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17664
|
+
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;
|
|
17665
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17666
|
+
};
|
|
17626
17667
|
/**
|
|
17627
17668
|
* The Mention component is used to list someone or something based on user input in textarea, input,
|
|
17628
17669
|
* or any other editable element from which the user can select.
|