@syncfusion/ej2-angular-dropdowns 32.1.24-ngcc → 32.1.24
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 +2722 -0
- package/README.md +10 -3
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/src/auto-complete/autocomplete-all.module.mjs +23 -0
- package/esm2020/src/auto-complete/autocomplete.component.mjs +129 -0
- package/esm2020/src/auto-complete/autocomplete.module.mjs +25 -0
- package/esm2020/src/combo-box/combobox-all.module.mjs +23 -0
- package/esm2020/src/combo-box/combobox.component.mjs +129 -0
- package/esm2020/src/combo-box/combobox.module.mjs +25 -0
- package/esm2020/src/drop-down-list/dropdownlist-all.module.mjs +29 -0
- package/esm2020/src/drop-down-list/dropdownlist.component.mjs +135 -0
- package/esm2020/src/drop-down-list/dropdownlist.module.mjs +25 -0
- package/esm2020/src/drop-down-tree/dropdowntree-all.module.mjs +23 -0
- package/esm2020/src/drop-down-tree/dropdowntree.component.mjs +122 -0
- package/esm2020/src/drop-down-tree/dropdowntree.module.mjs +25 -0
- package/esm2020/src/index.mjs +23 -0
- package/esm2020/src/list-box/listbox-all.module.mjs +23 -0
- package/esm2020/src/list-box/listbox.component.mjs +104 -0
- package/esm2020/src/list-box/listbox.module.mjs +25 -0
- package/esm2020/src/mention/mention-all.module.mjs +23 -0
- package/esm2020/src/mention/mention.component.mjs +84 -0
- package/esm2020/src/mention/mention.module.mjs +25 -0
- package/esm2020/src/multi-select/multiselect-all.module.mjs +29 -0
- package/esm2020/src/multi-select/multiselect.component.mjs +142 -0
- package/esm2020/src/multi-select/multiselect.module.mjs +25 -0
- package/esm2020/syncfusion-ej2-angular-dropdowns.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-dropdowns.mjs +1095 -0
- package/fesm2015/syncfusion-ej2-angular-dropdowns.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-dropdowns.mjs +1095 -0
- package/fesm2020/syncfusion-ej2-angular-dropdowns.mjs.map +1 -0
- package/package.json +28 -46
- package/public_api.d.ts +1 -1
- package/src/auto-complete/autocomplete-all.module.d.ts +11 -5
- package/src/auto-complete/autocomplete.component.d.ts +93 -90
- package/src/auto-complete/autocomplete.module.d.ts +11 -5
- package/src/combo-box/combobox-all.module.d.ts +11 -5
- package/src/combo-box/combobox.component.d.ts +93 -90
- package/src/combo-box/combobox.module.d.ts +11 -5
- package/src/drop-down-list/dropdownlist-all.module.d.ts +13 -7
- package/src/drop-down-list/dropdownlist.component.d.ts +103 -100
- package/src/drop-down-list/dropdownlist.module.d.ts +11 -5
- package/src/drop-down-tree/dropdowntree-all.module.d.ts +11 -5
- package/src/drop-down-tree/dropdowntree.component.d.ts +95 -92
- package/src/drop-down-tree/dropdowntree.module.d.ts +11 -5
- package/src/index.d.ts +22 -22
- package/src/list-box/listbox-all.module.d.ts +11 -5
- package/src/list-box/listbox.component.d.ts +66 -63
- package/src/list-box/listbox.module.d.ts +11 -5
- package/src/mention/mention-all.module.d.ts +11 -5
- package/src/mention/mention.component.d.ts +59 -56
- package/src/mention/mention.module.d.ts +11 -5
- package/src/multi-select/multiselect-all.module.d.ts +13 -7
- package/src/multi-select/multiselect.component.d.ts +109 -106
- package/src/multi-select/multiselect.module.d.ts +11 -5
- package/styles/auto-complete/bds.scss +1 -1
- package/styles/auto-complete/bootstrap-dark.scss +1 -1
- package/styles/auto-complete/bootstrap.scss +1 -1
- package/styles/auto-complete/bootstrap4.scss +1 -1
- package/styles/auto-complete/bootstrap5-dark.scss +1 -1
- package/styles/auto-complete/bootstrap5.3.scss +1 -1
- package/styles/auto-complete/bootstrap5.scss +1 -1
- package/styles/auto-complete/fabric-dark.scss +1 -1
- package/styles/auto-complete/fabric.scss +1 -1
- package/styles/auto-complete/fluent-dark.scss +1 -1
- package/styles/auto-complete/fluent.scss +1 -1
- package/styles/auto-complete/fluent2.scss +1 -1
- package/styles/auto-complete/highcontrast-light.scss +1 -1
- package/styles/auto-complete/highcontrast.scss +1 -1
- package/styles/auto-complete/material-dark.scss +1 -1
- package/styles/auto-complete/material.scss +1 -1
- package/styles/auto-complete/material3-dark.scss +1 -2
- package/styles/auto-complete/material3.scss +1 -2
- package/styles/auto-complete/tailwind-dark.scss +1 -1
- package/styles/auto-complete/tailwind.scss +1 -1
- package/styles/auto-complete/tailwind3.scss +1 -1
- package/styles/bds-lite.scss +1 -1
- package/styles/bds.scss +8 -8
- package/styles/bootstrap-dark-lite.scss +1 -1
- package/styles/bootstrap-dark.scss +8 -8
- package/styles/bootstrap-lite.scss +1 -1
- package/styles/bootstrap.scss +8 -8
- package/styles/bootstrap4-lite.scss +1 -1
- package/styles/bootstrap4.scss +8 -8
- package/styles/bootstrap5-dark-lite.scss +1 -1
- package/styles/bootstrap5-dark.scss +8 -8
- package/styles/bootstrap5-lite.scss +1 -1
- package/styles/bootstrap5.3-lite.scss +1 -1
- package/styles/bootstrap5.3.scss +8 -8
- package/styles/bootstrap5.scss +8 -8
- package/styles/combo-box/bds.scss +1 -1
- package/styles/combo-box/bootstrap-dark.scss +1 -1
- package/styles/combo-box/bootstrap.scss +1 -1
- package/styles/combo-box/bootstrap4.scss +1 -1
- package/styles/combo-box/bootstrap5-dark.scss +1 -1
- package/styles/combo-box/bootstrap5.3.scss +1 -1
- package/styles/combo-box/bootstrap5.scss +1 -1
- package/styles/combo-box/fabric-dark.scss +1 -1
- package/styles/combo-box/fabric.scss +1 -1
- package/styles/combo-box/fluent-dark.scss +1 -1
- package/styles/combo-box/fluent.scss +1 -1
- package/styles/combo-box/fluent2.scss +1 -1
- package/styles/combo-box/highcontrast-light.scss +1 -1
- package/styles/combo-box/highcontrast.scss +1 -1
- package/styles/combo-box/material-dark.scss +1 -1
- package/styles/combo-box/material.scss +1 -1
- package/styles/combo-box/material3-dark.scss +1 -2
- package/styles/combo-box/material3.scss +1 -2
- package/styles/combo-box/tailwind-dark.scss +1 -1
- package/styles/combo-box/tailwind.scss +1 -1
- package/styles/combo-box/tailwind3.scss +1 -1
- package/styles/drop-down-base/bds.scss +1 -1
- package/styles/drop-down-base/bootstrap-dark.scss +1 -1
- package/styles/drop-down-base/bootstrap.scss +1 -1
- package/styles/drop-down-base/bootstrap4.scss +1 -1
- package/styles/drop-down-base/bootstrap5-dark.scss +1 -1
- package/styles/drop-down-base/bootstrap5.3.scss +1 -1
- package/styles/drop-down-base/bootstrap5.scss +1 -1
- package/styles/drop-down-base/fabric-dark.scss +1 -1
- package/styles/drop-down-base/fabric.scss +1 -1
- package/styles/drop-down-base/fluent-dark.scss +1 -1
- package/styles/drop-down-base/fluent.scss +1 -1
- package/styles/drop-down-base/fluent2.scss +1 -1
- package/styles/drop-down-base/highcontrast-light.scss +1 -1
- package/styles/drop-down-base/highcontrast.scss +1 -1
- package/styles/drop-down-base/material-dark.scss +1 -1
- package/styles/drop-down-base/material.scss +1 -1
- package/styles/drop-down-base/material3-dark.scss +1 -2
- package/styles/drop-down-base/material3.scss +1 -2
- package/styles/drop-down-base/tailwind-dark.scss +1 -1
- package/styles/drop-down-base/tailwind.scss +1 -1
- package/styles/drop-down-base/tailwind3.scss +1 -1
- package/styles/drop-down-list/bds.scss +1 -1
- package/styles/drop-down-list/bootstrap-dark.scss +1 -1
- package/styles/drop-down-list/bootstrap.scss +1 -1
- package/styles/drop-down-list/bootstrap4.scss +1 -1
- package/styles/drop-down-list/bootstrap5-dark.scss +1 -1
- package/styles/drop-down-list/bootstrap5.3.scss +1 -1
- package/styles/drop-down-list/bootstrap5.scss +1 -1
- package/styles/drop-down-list/fabric-dark.scss +1 -1
- package/styles/drop-down-list/fabric.scss +1 -1
- package/styles/drop-down-list/fluent-dark.scss +1 -1
- package/styles/drop-down-list/fluent.scss +1 -1
- package/styles/drop-down-list/fluent2.scss +1 -1
- package/styles/drop-down-list/highcontrast-light.scss +1 -1
- package/styles/drop-down-list/highcontrast.scss +1 -1
- package/styles/drop-down-list/material-dark.scss +1 -1
- package/styles/drop-down-list/material.scss +1 -1
- package/styles/drop-down-list/material3-dark.scss +1 -2
- package/styles/drop-down-list/material3.scss +1 -2
- package/styles/drop-down-list/tailwind-dark.scss +1 -1
- package/styles/drop-down-list/tailwind.scss +1 -1
- package/styles/drop-down-list/tailwind3.scss +1 -1
- package/styles/drop-down-tree/bds.scss +1 -1
- package/styles/drop-down-tree/bootstrap-dark.scss +1 -1
- package/styles/drop-down-tree/bootstrap.scss +1 -1
- package/styles/drop-down-tree/bootstrap4.scss +1 -1
- package/styles/drop-down-tree/bootstrap5-dark.scss +1 -1
- package/styles/drop-down-tree/bootstrap5.3.scss +1 -1
- package/styles/drop-down-tree/bootstrap5.scss +1 -1
- package/styles/drop-down-tree/fabric-dark.scss +1 -1
- package/styles/drop-down-tree/fabric.scss +1 -1
- package/styles/drop-down-tree/fluent-dark.scss +1 -1
- package/styles/drop-down-tree/fluent.scss +1 -1
- package/styles/drop-down-tree/fluent2.scss +1 -1
- package/styles/drop-down-tree/highcontrast-light.scss +1 -1
- package/styles/drop-down-tree/highcontrast.scss +1 -1
- package/styles/drop-down-tree/material-dark.scss +1 -1
- package/styles/drop-down-tree/material.scss +1 -1
- package/styles/drop-down-tree/material3-dark.scss +1 -2
- package/styles/drop-down-tree/material3.scss +1 -2
- package/styles/drop-down-tree/tailwind-dark.scss +1 -1
- package/styles/drop-down-tree/tailwind.scss +1 -1
- package/styles/drop-down-tree/tailwind3.scss +1 -1
- package/styles/fabric-dark-lite.scss +1 -1
- package/styles/fabric-dark.scss +8 -8
- package/styles/fabric-lite.scss +1 -1
- package/styles/fabric.scss +8 -8
- package/styles/fluent-dark-lite.scss +1 -1
- package/styles/fluent-dark.scss +8 -8
- package/styles/fluent-lite.scss +1 -1
- package/styles/fluent.scss +8 -8
- package/styles/fluent2-lite.scss +1 -1
- package/styles/fluent2.scss +8 -8
- package/styles/highcontrast-light-lite.scss +1 -1
- package/styles/highcontrast-light.scss +8 -8
- package/styles/highcontrast-lite.scss +1 -1
- package/styles/highcontrast.scss +8 -8
- package/styles/list-box/bds.scss +1 -1
- package/styles/list-box/bootstrap-dark.scss +1 -1
- package/styles/list-box/bootstrap.scss +1 -1
- package/styles/list-box/bootstrap4.scss +1 -1
- package/styles/list-box/bootstrap5-dark.scss +1 -1
- package/styles/list-box/bootstrap5.3.scss +1 -1
- package/styles/list-box/bootstrap5.scss +1 -1
- package/styles/list-box/fabric-dark.scss +1 -1
- package/styles/list-box/fabric.scss +1 -1
- package/styles/list-box/fluent-dark.scss +1 -1
- package/styles/list-box/fluent.scss +1 -1
- package/styles/list-box/fluent2.scss +1 -1
- package/styles/list-box/highcontrast-light.scss +1 -1
- package/styles/list-box/highcontrast.scss +1 -1
- package/styles/list-box/material-dark.scss +1 -1
- package/styles/list-box/material.scss +1 -1
- package/styles/list-box/material3-dark.scss +1 -2
- package/styles/list-box/material3.scss +1 -2
- package/styles/list-box/tailwind-dark.scss +1 -1
- package/styles/list-box/tailwind.scss +1 -1
- package/styles/list-box/tailwind3.scss +1 -1
- package/styles/material-dark-lite.scss +1 -1
- package/styles/material-dark.scss +8 -8
- package/styles/material-lite.scss +1 -1
- package/styles/material.scss +8 -8
- package/styles/material3-dark-lite.scss +1 -1
- package/styles/material3-dark.scss +8 -9
- package/styles/material3-lite.scss +1 -1
- package/styles/material3.scss +8 -9
- package/styles/mention/bds.scss +1 -1
- package/styles/mention/bootstrap-dark.scss +1 -1
- package/styles/mention/bootstrap.scss +1 -1
- package/styles/mention/bootstrap4.scss +1 -1
- package/styles/mention/bootstrap5-dark.scss +1 -1
- package/styles/mention/bootstrap5.3.scss +1 -1
- package/styles/mention/bootstrap5.scss +1 -1
- package/styles/mention/fabric-dark.scss +1 -1
- package/styles/mention/fabric.scss +1 -1
- package/styles/mention/fluent-dark.scss +1 -1
- package/styles/mention/fluent.scss +1 -1
- package/styles/mention/fluent2.scss +1 -1
- package/styles/mention/highcontrast-light.scss +1 -1
- package/styles/mention/highcontrast.scss +1 -1
- package/styles/mention/material-dark.scss +1 -1
- package/styles/mention/material.scss +1 -1
- package/styles/mention/material3-dark.scss +1 -2
- package/styles/mention/material3.scss +1 -2
- package/styles/mention/tailwind-dark.scss +1 -1
- package/styles/mention/tailwind.scss +1 -1
- package/styles/mention/tailwind3.scss +1 -1
- package/styles/multi-select/bds.scss +1 -1
- package/styles/multi-select/bootstrap-dark.scss +1 -1
- package/styles/multi-select/bootstrap.scss +1 -1
- package/styles/multi-select/bootstrap4.scss +1 -1
- package/styles/multi-select/bootstrap5-dark.scss +1 -1
- package/styles/multi-select/bootstrap5.3.scss +1 -1
- package/styles/multi-select/bootstrap5.scss +1 -1
- package/styles/multi-select/fabric-dark.scss +1 -1
- package/styles/multi-select/fabric.scss +1 -1
- package/styles/multi-select/fluent-dark.scss +1 -1
- package/styles/multi-select/fluent.scss +1 -1
- package/styles/multi-select/fluent2.scss +1 -1
- package/styles/multi-select/highcontrast-light.scss +1 -1
- package/styles/multi-select/highcontrast.scss +1 -1
- package/styles/multi-select/material-dark.scss +1 -1
- package/styles/multi-select/material.scss +1 -1
- package/styles/multi-select/material3-dark.scss +1 -2
- package/styles/multi-select/material3.scss +1 -2
- package/styles/multi-select/tailwind-dark.scss +1 -1
- package/styles/multi-select/tailwind.scss +1 -1
- package/styles/multi-select/tailwind3.scss +1 -1
- package/styles/tailwind-dark-lite.scss +1 -1
- package/styles/tailwind-dark.scss +8 -8
- package/styles/tailwind-lite.scss +1 -1
- package/styles/tailwind.scss +8 -8
- package/styles/tailwind3-lite.scss +1 -1
- package/styles/tailwind3.scss +8 -8
- package/syncfusion-ej2-angular-dropdowns.d.ts +5 -0
- package/@syncfusion/ej2-angular-dropdowns.es5.js +0 -1487
- package/@syncfusion/ej2-angular-dropdowns.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-dropdowns.js +0 -1402
- package/@syncfusion/ej2-angular-dropdowns.js.map +0 -1
- package/LICENSE +0 -10
- package/dist/ej2-angular-dropdowns.umd.js +0 -1557
- package/dist/ej2-angular-dropdowns.umd.js.map +0 -1
- package/dist/ej2-angular-dropdowns.umd.min.js +0 -11
- package/dist/ej2-angular-dropdowns.umd.min.js.map +0 -1
- package/ej2-angular-dropdowns.d.ts +0 -11
- package/ej2-angular-dropdowns.metadata.json +0 -1
|
@@ -1,1557 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* filename: ej2-angular-dropdowns.umd.js
|
|
3
|
-
* version : 32.1.24
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
|
-
* Use of this code is subject to the terms of our license.
|
|
6
|
-
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
-
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
-
* applicable laws.
|
|
9
|
-
*/
|
|
10
|
-
(function (global, factory) {
|
|
11
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-dropdowns'), require('@angular/common')) :
|
|
12
|
-
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/forms', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-dropdowns', '@angular/common'], factory) :
|
|
13
|
-
(factory((global['ej2-angular-dropdowns'] = {}),global.ng.core,global.ng.forms,global.ej2.angular.base,global.ej2.dropdowns,global.ng.common));
|
|
14
|
-
}(this, (function (exports,core,forms,ej2AngularBase,ej2Dropdowns,common) { 'use strict';
|
|
15
|
-
|
|
16
|
-
var __extends = (this && this.__extends) || (function () {
|
|
17
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
-
return function (d, b) {
|
|
21
|
-
extendStatics(d, b);
|
|
22
|
-
function __() { this.constructor = d; }
|
|
23
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
-
};
|
|
25
|
-
})();
|
|
26
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
27
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
29
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
30
|
-
else
|
|
31
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
32
|
-
if (d = decorators[i])
|
|
33
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
|
-
};
|
|
36
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
37
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
38
|
-
return Reflect.metadata(k, v);
|
|
39
|
-
};
|
|
40
|
-
var inputs = ['actionFailureTemplate', 'allowFiltering', 'allowObjectBinding', 'allowResize', 'cssClass', 'dataSource', 'debounceDelay', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', 'isDeviceFullScreen', 'itemTemplate', 'locale', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'sortOrder', 'text', 'value', 'valueTemplate', 'width', 'zIndex'];
|
|
41
|
-
var outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'resizeStart', 'resizeStop', 'resizing', 'select', 'valueChange'];
|
|
42
|
-
var twoWays = ['value'];
|
|
43
|
-
/**
|
|
44
|
-
* The DropDownList component contains a list of predefined values, from which the user can choose a single value.
|
|
45
|
-
* ```html
|
|
46
|
-
* <ejs-dropdownlist></ejs-dropdownlist>
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
exports.DropDownListComponent = DropDownListComponent_1 = /** @class */ (function (_super) {
|
|
50
|
-
__extends(DropDownListComponent, _super);
|
|
51
|
-
/**
|
|
52
|
-
* @param {?} ngEle
|
|
53
|
-
* @param {?} srenderer
|
|
54
|
-
* @param {?} viewContainerRef
|
|
55
|
-
* @param {?} injector
|
|
56
|
-
* @param {?} cdr
|
|
57
|
-
*/
|
|
58
|
-
function DropDownListComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
59
|
-
var _this = _super.call(this) || this;
|
|
60
|
-
_this.ngEle = ngEle;
|
|
61
|
-
_this.srenderer = srenderer;
|
|
62
|
-
_this.viewContainerRef = viewContainerRef;
|
|
63
|
-
_this.injector = injector;
|
|
64
|
-
_this.cdr = cdr;
|
|
65
|
-
_this.skipFromEvent = true;
|
|
66
|
-
_this.element = _this.ngEle.nativeElement;
|
|
67
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
68
|
-
try {
|
|
69
|
-
var mod = _this.injector.get('DropDownsVirtualScroll');
|
|
70
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
71
|
-
_this.injectedModules.push(mod);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
catch (_a) { }
|
|
75
|
-
_this.registerEvents(outputs);
|
|
76
|
-
_this.addTwoWay.call(_this, twoWays);
|
|
77
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
78
|
-
_this.formContext = new ej2AngularBase.FormBase();
|
|
79
|
-
_this.formCompContext = new ej2AngularBase.ComponentBase();
|
|
80
|
-
return _this;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* @param {?} registerFunction
|
|
84
|
-
* @return {?}
|
|
85
|
-
*/
|
|
86
|
-
DropDownListComponent.prototype.registerOnChange = function (registerFunction) {
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* @param {?} registerFunction
|
|
90
|
-
* @return {?}
|
|
91
|
-
*/
|
|
92
|
-
DropDownListComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* @param {?} value
|
|
96
|
-
* @return {?}
|
|
97
|
-
*/
|
|
98
|
-
DropDownListComponent.prototype.writeValue = function (value) {
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* @param {?} disabled
|
|
102
|
-
* @return {?}
|
|
103
|
-
*/
|
|
104
|
-
DropDownListComponent.prototype.setDisabledState = function (disabled) {
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* @return {?}
|
|
108
|
-
*/
|
|
109
|
-
DropDownListComponent.prototype.ngOnInit = function () {
|
|
110
|
-
this.formCompContext.ngOnInit(this);
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* @return {?}
|
|
114
|
-
*/
|
|
115
|
-
DropDownListComponent.prototype.ngAfterViewInit = function () {
|
|
116
|
-
this.formContext.ngAfterViewInit(this);
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* @return {?}
|
|
120
|
-
*/
|
|
121
|
-
DropDownListComponent.prototype.ngOnDestroy = function () {
|
|
122
|
-
this.formCompContext.ngOnDestroy(this);
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* @return {?}
|
|
126
|
-
*/
|
|
127
|
-
DropDownListComponent.prototype.ngAfterContentChecked = function () {
|
|
128
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
129
|
-
};
|
|
130
|
-
return DropDownListComponent;
|
|
131
|
-
}(ej2Dropdowns.DropDownList));
|
|
132
|
-
exports.DropDownListComponent.decorators = [
|
|
133
|
-
{ type: core.Component, args: [{
|
|
134
|
-
selector: 'ejs-dropdownlist',
|
|
135
|
-
inputs: inputs,
|
|
136
|
-
outputs: outputs,
|
|
137
|
-
template: '',
|
|
138
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
139
|
-
providers: [
|
|
140
|
-
{
|
|
141
|
-
provide: forms.NG_VALUE_ACCESSOR,
|
|
142
|
-
useExisting: core.forwardRef(function () { return DropDownListComponent_1; }),
|
|
143
|
-
multi: true
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
queries: {}
|
|
147
|
-
},] },
|
|
148
|
-
];
|
|
149
|
-
/**
|
|
150
|
-
* @nocollapse
|
|
151
|
-
*/
|
|
152
|
-
exports.DropDownListComponent.ctorParameters = function () { return [
|
|
153
|
-
{ type: core.ElementRef, },
|
|
154
|
-
{ type: core.Renderer2, },
|
|
155
|
-
{ type: core.ViewContainerRef, },
|
|
156
|
-
{ type: core.Injector, },
|
|
157
|
-
{ type: core.ChangeDetectorRef, },
|
|
158
|
-
]; };
|
|
159
|
-
exports.DropDownListComponent.propDecorators = {
|
|
160
|
-
'footerTemplate': [{ type: core.ContentChild, args: ['footerTemplate',] },],
|
|
161
|
-
'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
|
|
162
|
-
'valueTemplate': [{ type: core.ContentChild, args: ['valueTemplate',] },],
|
|
163
|
-
'groupTemplate': [{ type: core.ContentChild, args: ['groupTemplate',] },],
|
|
164
|
-
'itemTemplate': [{ type: core.ContentChild, args: ['itemTemplate',] },],
|
|
165
|
-
'noRecordsTemplate': [{ type: core.ContentChild, args: ['noRecordsTemplate',] },],
|
|
166
|
-
'actionFailureTemplate': [{ type: core.ContentChild, args: ['actionFailureTemplate',] },],
|
|
167
|
-
};
|
|
168
|
-
__decorate([
|
|
169
|
-
ej2AngularBase.Template(),
|
|
170
|
-
__metadata("design:type", Object)
|
|
171
|
-
], exports.DropDownListComponent.prototype, "footerTemplate", void 0);
|
|
172
|
-
__decorate([
|
|
173
|
-
ej2AngularBase.Template(),
|
|
174
|
-
__metadata("design:type", Object)
|
|
175
|
-
], exports.DropDownListComponent.prototype, "headerTemplate", void 0);
|
|
176
|
-
__decorate([
|
|
177
|
-
ej2AngularBase.Template(),
|
|
178
|
-
__metadata("design:type", Object)
|
|
179
|
-
], exports.DropDownListComponent.prototype, "valueTemplate", void 0);
|
|
180
|
-
__decorate([
|
|
181
|
-
ej2AngularBase.Template(),
|
|
182
|
-
__metadata("design:type", Object)
|
|
183
|
-
], exports.DropDownListComponent.prototype, "groupTemplate", void 0);
|
|
184
|
-
__decorate([
|
|
185
|
-
ej2AngularBase.Template(),
|
|
186
|
-
__metadata("design:type", Object)
|
|
187
|
-
], exports.DropDownListComponent.prototype, "itemTemplate", void 0);
|
|
188
|
-
__decorate([
|
|
189
|
-
ej2AngularBase.Template('No records found'),
|
|
190
|
-
__metadata("design:type", Object)
|
|
191
|
-
], exports.DropDownListComponent.prototype, "noRecordsTemplate", void 0);
|
|
192
|
-
__decorate([
|
|
193
|
-
ej2AngularBase.Template('Request failed'),
|
|
194
|
-
__metadata("design:type", Object)
|
|
195
|
-
], exports.DropDownListComponent.prototype, "actionFailureTemplate", void 0);
|
|
196
|
-
exports.DropDownListComponent = DropDownListComponent_1 = __decorate([
|
|
197
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
|
|
198
|
-
__metadata("design:paramtypes", [core.ElementRef,
|
|
199
|
-
core.Renderer2,
|
|
200
|
-
core.ViewContainerRef,
|
|
201
|
-
core.Injector,
|
|
202
|
-
core.ChangeDetectorRef])
|
|
203
|
-
], exports.DropDownListComponent);
|
|
204
|
-
var DropDownListComponent_1;
|
|
205
|
-
/**
|
|
206
|
-
* NgModule definition for the DropDownList component.
|
|
207
|
-
*/
|
|
208
|
-
var DropDownListModule = /** @class */ (function () {
|
|
209
|
-
function DropDownListModule() {
|
|
210
|
-
}
|
|
211
|
-
return DropDownListModule;
|
|
212
|
-
}());
|
|
213
|
-
DropDownListModule.decorators = [
|
|
214
|
-
{ type: core.NgModule, args: [{
|
|
215
|
-
imports: [common.CommonModule],
|
|
216
|
-
declarations: [
|
|
217
|
-
exports.DropDownListComponent
|
|
218
|
-
],
|
|
219
|
-
exports: [
|
|
220
|
-
exports.DropDownListComponent
|
|
221
|
-
]
|
|
222
|
-
},] },
|
|
223
|
-
];
|
|
224
|
-
/**
|
|
225
|
-
* @nocollapse
|
|
226
|
-
*/
|
|
227
|
-
DropDownListModule.ctorParameters = function () { return []; };
|
|
228
|
-
var VirtualScrollService = { provide: 'DropDownsVirtualScroll', useValue: ej2Dropdowns.VirtualScroll };
|
|
229
|
-
/**
|
|
230
|
-
* NgModule definition for the DropDownList component with providers.
|
|
231
|
-
*/
|
|
232
|
-
var DropDownListAllModule = /** @class */ (function () {
|
|
233
|
-
function DropDownListAllModule() {
|
|
234
|
-
}
|
|
235
|
-
return DropDownListAllModule;
|
|
236
|
-
}());
|
|
237
|
-
DropDownListAllModule.decorators = [
|
|
238
|
-
{ type: core.NgModule, args: [{
|
|
239
|
-
imports: [common.CommonModule, DropDownListModule],
|
|
240
|
-
exports: [
|
|
241
|
-
DropDownListModule
|
|
242
|
-
],
|
|
243
|
-
providers: [
|
|
244
|
-
VirtualScrollService
|
|
245
|
-
]
|
|
246
|
-
},] },
|
|
247
|
-
];
|
|
248
|
-
/**
|
|
249
|
-
* @nocollapse
|
|
250
|
-
*/
|
|
251
|
-
DropDownListAllModule.ctorParameters = function () { return []; };
|
|
252
|
-
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
253
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
254
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
255
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
256
|
-
else
|
|
257
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
258
|
-
if (d = decorators[i])
|
|
259
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
260
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
261
|
-
};
|
|
262
|
-
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
263
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
264
|
-
return Reflect.metadata(k, v);
|
|
265
|
-
};
|
|
266
|
-
var inputs$1 = ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'allowObjectBinding', 'allowResize', 'autofill', 'cssClass', 'dataSource', 'debounceDelay', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', 'isDeviceFullScreen', 'itemTemplate', 'locale', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'sortOrder', 'text', 'value', 'valueTemplate', 'width', 'zIndex'];
|
|
267
|
-
var outputs$1 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'customValueSpecifier', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'resizeStart', 'resizeStop', 'resizing', 'select', 'valueChange'];
|
|
268
|
-
var twoWays$1 = ['value'];
|
|
269
|
-
/**
|
|
270
|
-
* The ComboBox component allows the user to type a value or choose an option from the list of predefined options.
|
|
271
|
-
* ```html
|
|
272
|
-
* <ejs-combobox></ejs-combobox>
|
|
273
|
-
* ```
|
|
274
|
-
*/
|
|
275
|
-
exports.ComboBoxComponent = ComboBoxComponent_1 = /** @class */ (function (_super) {
|
|
276
|
-
__extends(ComboBoxComponent, _super);
|
|
277
|
-
/**
|
|
278
|
-
* @param {?} ngEle
|
|
279
|
-
* @param {?} srenderer
|
|
280
|
-
* @param {?} viewContainerRef
|
|
281
|
-
* @param {?} injector
|
|
282
|
-
* @param {?} cdr
|
|
283
|
-
*/
|
|
284
|
-
function ComboBoxComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
285
|
-
var _this = _super.call(this) || this;
|
|
286
|
-
_this.ngEle = ngEle;
|
|
287
|
-
_this.srenderer = srenderer;
|
|
288
|
-
_this.viewContainerRef = viewContainerRef;
|
|
289
|
-
_this.injector = injector;
|
|
290
|
-
_this.cdr = cdr;
|
|
291
|
-
_this.skipFromEvent = true;
|
|
292
|
-
_this.element = _this.ngEle.nativeElement;
|
|
293
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
294
|
-
try {
|
|
295
|
-
var mod = _this.injector.get('DropDownsVirtualScroll');
|
|
296
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
297
|
-
_this.injectedModules.push(mod);
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
catch (_a) { }
|
|
301
|
-
_this.registerEvents(outputs$1);
|
|
302
|
-
_this.addTwoWay.call(_this, twoWays$1);
|
|
303
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
304
|
-
_this.formContext = new ej2AngularBase.FormBase();
|
|
305
|
-
_this.formCompContext = new ej2AngularBase.ComponentBase();
|
|
306
|
-
return _this;
|
|
307
|
-
}
|
|
308
|
-
/**
|
|
309
|
-
* @param {?} registerFunction
|
|
310
|
-
* @return {?}
|
|
311
|
-
*/
|
|
312
|
-
ComboBoxComponent.prototype.registerOnChange = function (registerFunction) {
|
|
313
|
-
};
|
|
314
|
-
/**
|
|
315
|
-
* @param {?} registerFunction
|
|
316
|
-
* @return {?}
|
|
317
|
-
*/
|
|
318
|
-
ComboBoxComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
319
|
-
};
|
|
320
|
-
/**
|
|
321
|
-
* @param {?} value
|
|
322
|
-
* @return {?}
|
|
323
|
-
*/
|
|
324
|
-
ComboBoxComponent.prototype.writeValue = function (value) {
|
|
325
|
-
};
|
|
326
|
-
/**
|
|
327
|
-
* @param {?} disabled
|
|
328
|
-
* @return {?}
|
|
329
|
-
*/
|
|
330
|
-
ComboBoxComponent.prototype.setDisabledState = function (disabled) {
|
|
331
|
-
};
|
|
332
|
-
/**
|
|
333
|
-
* @return {?}
|
|
334
|
-
*/
|
|
335
|
-
ComboBoxComponent.prototype.ngOnInit = function () {
|
|
336
|
-
this.formCompContext.ngOnInit(this);
|
|
337
|
-
};
|
|
338
|
-
/**
|
|
339
|
-
* @return {?}
|
|
340
|
-
*/
|
|
341
|
-
ComboBoxComponent.prototype.ngAfterViewInit = function () {
|
|
342
|
-
this.formContext.ngAfterViewInit(this);
|
|
343
|
-
};
|
|
344
|
-
/**
|
|
345
|
-
* @return {?}
|
|
346
|
-
*/
|
|
347
|
-
ComboBoxComponent.prototype.ngOnDestroy = function () {
|
|
348
|
-
this.formCompContext.ngOnDestroy(this);
|
|
349
|
-
};
|
|
350
|
-
/**
|
|
351
|
-
* @return {?}
|
|
352
|
-
*/
|
|
353
|
-
ComboBoxComponent.prototype.ngAfterContentChecked = function () {
|
|
354
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
355
|
-
};
|
|
356
|
-
return ComboBoxComponent;
|
|
357
|
-
}(ej2Dropdowns.ComboBox));
|
|
358
|
-
exports.ComboBoxComponent.decorators = [
|
|
359
|
-
{ type: core.Component, args: [{
|
|
360
|
-
selector: 'ejs-combobox',
|
|
361
|
-
inputs: inputs$1,
|
|
362
|
-
outputs: outputs$1,
|
|
363
|
-
template: '',
|
|
364
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
365
|
-
providers: [
|
|
366
|
-
{
|
|
367
|
-
provide: forms.NG_VALUE_ACCESSOR,
|
|
368
|
-
useExisting: core.forwardRef(function () { return ComboBoxComponent_1; }),
|
|
369
|
-
multi: true
|
|
370
|
-
}
|
|
371
|
-
],
|
|
372
|
-
queries: {}
|
|
373
|
-
},] },
|
|
374
|
-
];
|
|
375
|
-
/**
|
|
376
|
-
* @nocollapse
|
|
377
|
-
*/
|
|
378
|
-
exports.ComboBoxComponent.ctorParameters = function () { return [
|
|
379
|
-
{ type: core.ElementRef, },
|
|
380
|
-
{ type: core.Renderer2, },
|
|
381
|
-
{ type: core.ViewContainerRef, },
|
|
382
|
-
{ type: core.Injector, },
|
|
383
|
-
{ type: core.ChangeDetectorRef, },
|
|
384
|
-
]; };
|
|
385
|
-
exports.ComboBoxComponent.propDecorators = {
|
|
386
|
-
'footerTemplate': [{ type: core.ContentChild, args: ['footerTemplate',] },],
|
|
387
|
-
'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
|
|
388
|
-
'groupTemplate': [{ type: core.ContentChild, args: ['groupTemplate',] },],
|
|
389
|
-
'itemTemplate': [{ type: core.ContentChild, args: ['itemTemplate',] },],
|
|
390
|
-
'noRecordsTemplate': [{ type: core.ContentChild, args: ['noRecordsTemplate',] },],
|
|
391
|
-
'actionFailureTemplate': [{ type: core.ContentChild, args: ['actionFailureTemplate',] },],
|
|
392
|
-
};
|
|
393
|
-
__decorate$1([
|
|
394
|
-
ej2AngularBase.Template(),
|
|
395
|
-
__metadata$1("design:type", Object)
|
|
396
|
-
], exports.ComboBoxComponent.prototype, "footerTemplate", void 0);
|
|
397
|
-
__decorate$1([
|
|
398
|
-
ej2AngularBase.Template(),
|
|
399
|
-
__metadata$1("design:type", Object)
|
|
400
|
-
], exports.ComboBoxComponent.prototype, "headerTemplate", void 0);
|
|
401
|
-
__decorate$1([
|
|
402
|
-
ej2AngularBase.Template(),
|
|
403
|
-
__metadata$1("design:type", Object)
|
|
404
|
-
], exports.ComboBoxComponent.prototype, "groupTemplate", void 0);
|
|
405
|
-
__decorate$1([
|
|
406
|
-
ej2AngularBase.Template(),
|
|
407
|
-
__metadata$1("design:type", Object)
|
|
408
|
-
], exports.ComboBoxComponent.prototype, "itemTemplate", void 0);
|
|
409
|
-
__decorate$1([
|
|
410
|
-
ej2AngularBase.Template('No records found'),
|
|
411
|
-
__metadata$1("design:type", Object)
|
|
412
|
-
], exports.ComboBoxComponent.prototype, "noRecordsTemplate", void 0);
|
|
413
|
-
__decorate$1([
|
|
414
|
-
ej2AngularBase.Template('Request failed'),
|
|
415
|
-
__metadata$1("design:type", Object)
|
|
416
|
-
], exports.ComboBoxComponent.prototype, "actionFailureTemplate", void 0);
|
|
417
|
-
exports.ComboBoxComponent = ComboBoxComponent_1 = __decorate$1([
|
|
418
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
|
|
419
|
-
__metadata$1("design:paramtypes", [core.ElementRef,
|
|
420
|
-
core.Renderer2,
|
|
421
|
-
core.ViewContainerRef,
|
|
422
|
-
core.Injector,
|
|
423
|
-
core.ChangeDetectorRef])
|
|
424
|
-
], exports.ComboBoxComponent);
|
|
425
|
-
var ComboBoxComponent_1;
|
|
426
|
-
/**
|
|
427
|
-
* NgModule definition for the ComboBox component.
|
|
428
|
-
*/
|
|
429
|
-
var ComboBoxModule = /** @class */ (function () {
|
|
430
|
-
function ComboBoxModule() {
|
|
431
|
-
}
|
|
432
|
-
return ComboBoxModule;
|
|
433
|
-
}());
|
|
434
|
-
ComboBoxModule.decorators = [
|
|
435
|
-
{ type: core.NgModule, args: [{
|
|
436
|
-
imports: [common.CommonModule],
|
|
437
|
-
declarations: [
|
|
438
|
-
exports.ComboBoxComponent
|
|
439
|
-
],
|
|
440
|
-
exports: [
|
|
441
|
-
exports.ComboBoxComponent
|
|
442
|
-
]
|
|
443
|
-
},] },
|
|
444
|
-
];
|
|
445
|
-
/**
|
|
446
|
-
* @nocollapse
|
|
447
|
-
*/
|
|
448
|
-
ComboBoxModule.ctorParameters = function () { return []; };
|
|
449
|
-
/**
|
|
450
|
-
* NgModule definition for the ComboBox component with providers.
|
|
451
|
-
*/
|
|
452
|
-
var ComboBoxAllModule = /** @class */ (function () {
|
|
453
|
-
function ComboBoxAllModule() {
|
|
454
|
-
}
|
|
455
|
-
return ComboBoxAllModule;
|
|
456
|
-
}());
|
|
457
|
-
ComboBoxAllModule.decorators = [
|
|
458
|
-
{ type: core.NgModule, args: [{
|
|
459
|
-
imports: [common.CommonModule, ComboBoxModule],
|
|
460
|
-
exports: [
|
|
461
|
-
ComboBoxModule
|
|
462
|
-
],
|
|
463
|
-
providers: []
|
|
464
|
-
},] },
|
|
465
|
-
];
|
|
466
|
-
/**
|
|
467
|
-
* @nocollapse
|
|
468
|
-
*/
|
|
469
|
-
ComboBoxAllModule.ctorParameters = function () { return []; };
|
|
470
|
-
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
471
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
472
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
473
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
474
|
-
else
|
|
475
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
476
|
-
if (d = decorators[i])
|
|
477
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
478
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
479
|
-
};
|
|
480
|
-
var __metadata$2 = (this && this.__metadata) || function (k, v) {
|
|
481
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
482
|
-
return Reflect.metadata(k, v);
|
|
483
|
-
};
|
|
484
|
-
var inputs$2 = ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'allowObjectBinding', 'allowResize', 'autofill', 'cssClass', 'dataSource', 'debounceDelay', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'highlight', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', 'isDeviceFullScreen', 'itemTemplate', 'locale', 'minLength', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'showPopupButton', 'sortOrder', 'suggestionCount', 'text', 'value', 'valueTemplate', 'width', 'zIndex'];
|
|
485
|
-
var outputs$2 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'customValueSpecifier', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'resizeStart', 'resizeStop', 'resizing', 'select', 'valueChange'];
|
|
486
|
-
var twoWays$2 = ['value'];
|
|
487
|
-
/**
|
|
488
|
-
* The AutoComplete component provides the matched suggestion list when type into the input, from which the user can select one.
|
|
489
|
-
* ```html
|
|
490
|
-
* <ejs-autocomplete></ejs-autocomplete>
|
|
491
|
-
* ```
|
|
492
|
-
*/
|
|
493
|
-
exports.AutoCompleteComponent = AutoCompleteComponent_1 = /** @class */ (function (_super) {
|
|
494
|
-
__extends(AutoCompleteComponent, _super);
|
|
495
|
-
/**
|
|
496
|
-
* @param {?} ngEle
|
|
497
|
-
* @param {?} srenderer
|
|
498
|
-
* @param {?} viewContainerRef
|
|
499
|
-
* @param {?} injector
|
|
500
|
-
* @param {?} cdr
|
|
501
|
-
*/
|
|
502
|
-
function AutoCompleteComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
503
|
-
var _this = _super.call(this) || this;
|
|
504
|
-
_this.ngEle = ngEle;
|
|
505
|
-
_this.srenderer = srenderer;
|
|
506
|
-
_this.viewContainerRef = viewContainerRef;
|
|
507
|
-
_this.injector = injector;
|
|
508
|
-
_this.cdr = cdr;
|
|
509
|
-
_this.skipFromEvent = true;
|
|
510
|
-
_this.element = _this.ngEle.nativeElement;
|
|
511
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
512
|
-
try {
|
|
513
|
-
var mod = _this.injector.get('DropDownsVirtualScroll');
|
|
514
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
515
|
-
_this.injectedModules.push(mod);
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
catch (_a) { }
|
|
519
|
-
_this.registerEvents(outputs$2);
|
|
520
|
-
_this.addTwoWay.call(_this, twoWays$2);
|
|
521
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
522
|
-
_this.formContext = new ej2AngularBase.FormBase();
|
|
523
|
-
_this.formCompContext = new ej2AngularBase.ComponentBase();
|
|
524
|
-
return _this;
|
|
525
|
-
}
|
|
526
|
-
/**
|
|
527
|
-
* @param {?} registerFunction
|
|
528
|
-
* @return {?}
|
|
529
|
-
*/
|
|
530
|
-
AutoCompleteComponent.prototype.registerOnChange = function (registerFunction) {
|
|
531
|
-
};
|
|
532
|
-
/**
|
|
533
|
-
* @param {?} registerFunction
|
|
534
|
-
* @return {?}
|
|
535
|
-
*/
|
|
536
|
-
AutoCompleteComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
537
|
-
};
|
|
538
|
-
/**
|
|
539
|
-
* @param {?} value
|
|
540
|
-
* @return {?}
|
|
541
|
-
*/
|
|
542
|
-
AutoCompleteComponent.prototype.writeValue = function (value) {
|
|
543
|
-
};
|
|
544
|
-
/**
|
|
545
|
-
* @param {?} disabled
|
|
546
|
-
* @return {?}
|
|
547
|
-
*/
|
|
548
|
-
AutoCompleteComponent.prototype.setDisabledState = function (disabled) {
|
|
549
|
-
};
|
|
550
|
-
/**
|
|
551
|
-
* @return {?}
|
|
552
|
-
*/
|
|
553
|
-
AutoCompleteComponent.prototype.ngOnInit = function () {
|
|
554
|
-
this.formCompContext.ngOnInit(this);
|
|
555
|
-
};
|
|
556
|
-
/**
|
|
557
|
-
* @return {?}
|
|
558
|
-
*/
|
|
559
|
-
AutoCompleteComponent.prototype.ngAfterViewInit = function () {
|
|
560
|
-
this.formContext.ngAfterViewInit(this);
|
|
561
|
-
};
|
|
562
|
-
/**
|
|
563
|
-
* @return {?}
|
|
564
|
-
*/
|
|
565
|
-
AutoCompleteComponent.prototype.ngOnDestroy = function () {
|
|
566
|
-
this.formCompContext.ngOnDestroy(this);
|
|
567
|
-
};
|
|
568
|
-
/**
|
|
569
|
-
* @return {?}
|
|
570
|
-
*/
|
|
571
|
-
AutoCompleteComponent.prototype.ngAfterContentChecked = function () {
|
|
572
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
573
|
-
};
|
|
574
|
-
return AutoCompleteComponent;
|
|
575
|
-
}(ej2Dropdowns.AutoComplete));
|
|
576
|
-
exports.AutoCompleteComponent.decorators = [
|
|
577
|
-
{ type: core.Component, args: [{
|
|
578
|
-
selector: 'ejs-autocomplete',
|
|
579
|
-
inputs: inputs$2,
|
|
580
|
-
outputs: outputs$2,
|
|
581
|
-
template: '',
|
|
582
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
583
|
-
providers: [
|
|
584
|
-
{
|
|
585
|
-
provide: forms.NG_VALUE_ACCESSOR,
|
|
586
|
-
useExisting: core.forwardRef(function () { return AutoCompleteComponent_1; }),
|
|
587
|
-
multi: true
|
|
588
|
-
}
|
|
589
|
-
],
|
|
590
|
-
queries: {}
|
|
591
|
-
},] },
|
|
592
|
-
];
|
|
593
|
-
/**
|
|
594
|
-
* @nocollapse
|
|
595
|
-
*/
|
|
596
|
-
exports.AutoCompleteComponent.ctorParameters = function () { return [
|
|
597
|
-
{ type: core.ElementRef, },
|
|
598
|
-
{ type: core.Renderer2, },
|
|
599
|
-
{ type: core.ViewContainerRef, },
|
|
600
|
-
{ type: core.Injector, },
|
|
601
|
-
{ type: core.ChangeDetectorRef, },
|
|
602
|
-
]; };
|
|
603
|
-
exports.AutoCompleteComponent.propDecorators = {
|
|
604
|
-
'footerTemplate': [{ type: core.ContentChild, args: ['footerTemplate',] },],
|
|
605
|
-
'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
|
|
606
|
-
'groupTemplate': [{ type: core.ContentChild, args: ['groupTemplate',] },],
|
|
607
|
-
'itemTemplate': [{ type: core.ContentChild, args: ['itemTemplate',] },],
|
|
608
|
-
'noRecordsTemplate': [{ type: core.ContentChild, args: ['noRecordsTemplate',] },],
|
|
609
|
-
'actionFailureTemplate': [{ type: core.ContentChild, args: ['actionFailureTemplate',] },],
|
|
610
|
-
};
|
|
611
|
-
__decorate$2([
|
|
612
|
-
ej2AngularBase.Template(),
|
|
613
|
-
__metadata$2("design:type", Object)
|
|
614
|
-
], exports.AutoCompleteComponent.prototype, "footerTemplate", void 0);
|
|
615
|
-
__decorate$2([
|
|
616
|
-
ej2AngularBase.Template(),
|
|
617
|
-
__metadata$2("design:type", Object)
|
|
618
|
-
], exports.AutoCompleteComponent.prototype, "headerTemplate", void 0);
|
|
619
|
-
__decorate$2([
|
|
620
|
-
ej2AngularBase.Template(),
|
|
621
|
-
__metadata$2("design:type", Object)
|
|
622
|
-
], exports.AutoCompleteComponent.prototype, "groupTemplate", void 0);
|
|
623
|
-
__decorate$2([
|
|
624
|
-
ej2AngularBase.Template(),
|
|
625
|
-
__metadata$2("design:type", Object)
|
|
626
|
-
], exports.AutoCompleteComponent.prototype, "itemTemplate", void 0);
|
|
627
|
-
__decorate$2([
|
|
628
|
-
ej2AngularBase.Template('No records found'),
|
|
629
|
-
__metadata$2("design:type", Object)
|
|
630
|
-
], exports.AutoCompleteComponent.prototype, "noRecordsTemplate", void 0);
|
|
631
|
-
__decorate$2([
|
|
632
|
-
ej2AngularBase.Template('Request failed'),
|
|
633
|
-
__metadata$2("design:type", Object)
|
|
634
|
-
], exports.AutoCompleteComponent.prototype, "actionFailureTemplate", void 0);
|
|
635
|
-
exports.AutoCompleteComponent = AutoCompleteComponent_1 = __decorate$2([
|
|
636
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
|
|
637
|
-
__metadata$2("design:paramtypes", [core.ElementRef,
|
|
638
|
-
core.Renderer2,
|
|
639
|
-
core.ViewContainerRef,
|
|
640
|
-
core.Injector,
|
|
641
|
-
core.ChangeDetectorRef])
|
|
642
|
-
], exports.AutoCompleteComponent);
|
|
643
|
-
var AutoCompleteComponent_1;
|
|
644
|
-
/**
|
|
645
|
-
* NgModule definition for the AutoComplete component.
|
|
646
|
-
*/
|
|
647
|
-
var AutoCompleteModule = /** @class */ (function () {
|
|
648
|
-
function AutoCompleteModule() {
|
|
649
|
-
}
|
|
650
|
-
return AutoCompleteModule;
|
|
651
|
-
}());
|
|
652
|
-
AutoCompleteModule.decorators = [
|
|
653
|
-
{ type: core.NgModule, args: [{
|
|
654
|
-
imports: [common.CommonModule],
|
|
655
|
-
declarations: [
|
|
656
|
-
exports.AutoCompleteComponent
|
|
657
|
-
],
|
|
658
|
-
exports: [
|
|
659
|
-
exports.AutoCompleteComponent
|
|
660
|
-
]
|
|
661
|
-
},] },
|
|
662
|
-
];
|
|
663
|
-
/**
|
|
664
|
-
* @nocollapse
|
|
665
|
-
*/
|
|
666
|
-
AutoCompleteModule.ctorParameters = function () { return []; };
|
|
667
|
-
/**
|
|
668
|
-
* NgModule definition for the AutoComplete component with providers.
|
|
669
|
-
*/
|
|
670
|
-
var AutoCompleteAllModule = /** @class */ (function () {
|
|
671
|
-
function AutoCompleteAllModule() {
|
|
672
|
-
}
|
|
673
|
-
return AutoCompleteAllModule;
|
|
674
|
-
}());
|
|
675
|
-
AutoCompleteAllModule.decorators = [
|
|
676
|
-
{ type: core.NgModule, args: [{
|
|
677
|
-
imports: [common.CommonModule, AutoCompleteModule],
|
|
678
|
-
exports: [
|
|
679
|
-
AutoCompleteModule
|
|
680
|
-
],
|
|
681
|
-
providers: []
|
|
682
|
-
},] },
|
|
683
|
-
];
|
|
684
|
-
/**
|
|
685
|
-
* @nocollapse
|
|
686
|
-
*/
|
|
687
|
-
AutoCompleteAllModule.ctorParameters = function () { return []; };
|
|
688
|
-
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
689
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
690
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
691
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
692
|
-
else
|
|
693
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
694
|
-
if (d = decorators[i])
|
|
695
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
696
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
697
|
-
};
|
|
698
|
-
var __metadata$3 = (this && this.__metadata) || function (k, v) {
|
|
699
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
700
|
-
return Reflect.metadata(k, v);
|
|
701
|
-
};
|
|
702
|
-
var inputs$3 = ['actionFailureTemplate', 'addTagOnBlur', 'allowCustomValue', 'allowFiltering', 'allowObjectBinding', 'allowResize', 'changeOnBlur', 'closePopupOnSelect', 'cssClass', 'dataSource', 'debounceDelay', 'delimiterChar', 'enableGroupCheckBox', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableSelectionOrder', 'enableVirtualization', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'hideSelectedItem', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'isDeviceFullScreen', 'itemTemplate', 'locale', 'maximumSelectionLength', 'mode', 'noRecordsTemplate', 'openOnClick', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'selectAllText', 'showClearButton', 'showDropDownIcon', 'showSelectAll', 'sortOrder', 'text', 'unSelectAllText', 'value', 'valueTemplate', 'width', 'zIndex'];
|
|
703
|
-
var outputs$3 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'beforeSelectAll', 'blur', 'change', 'chipSelection', 'close', 'created', 'customValueSelection', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'removed', 'removing', 'resizeStart', 'resizeStop', 'resizing', 'select', 'selectedAll', 'tagging', 'valueChange'];
|
|
704
|
-
var twoWays$3 = ['value'];
|
|
705
|
-
/**
|
|
706
|
-
* The MultiSelect allows the user to pick a values from the predefined list of values.
|
|
707
|
-
* ```html
|
|
708
|
-
* <ejs-multiselect></ejs-multiselect>
|
|
709
|
-
* ```
|
|
710
|
-
*/
|
|
711
|
-
exports.MultiSelectComponent = MultiSelectComponent_1 = /** @class */ (function (_super) {
|
|
712
|
-
__extends(MultiSelectComponent, _super);
|
|
713
|
-
/**
|
|
714
|
-
* @param {?} ngEle
|
|
715
|
-
* @param {?} srenderer
|
|
716
|
-
* @param {?} viewContainerRef
|
|
717
|
-
* @param {?} injector
|
|
718
|
-
* @param {?} cdr
|
|
719
|
-
*/
|
|
720
|
-
function MultiSelectComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
721
|
-
var _this = _super.call(this) || this;
|
|
722
|
-
_this.ngEle = ngEle;
|
|
723
|
-
_this.srenderer = srenderer;
|
|
724
|
-
_this.viewContainerRef = viewContainerRef;
|
|
725
|
-
_this.injector = injector;
|
|
726
|
-
_this.cdr = cdr;
|
|
727
|
-
_this.skipFromEvent = true;
|
|
728
|
-
_this.element = _this.ngEle.nativeElement;
|
|
729
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
730
|
-
try {
|
|
731
|
-
var mod = _this.injector.get('DropDownsCheckBoxSelection');
|
|
732
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
733
|
-
_this.injectedModules.push(mod);
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
catch (_a) { }
|
|
737
|
-
try {
|
|
738
|
-
var mod = _this.injector.get('DropDownsVirtualScroll');
|
|
739
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
740
|
-
_this.injectedModules.push(mod);
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
catch (_b) { }
|
|
744
|
-
_this.registerEvents(outputs$3);
|
|
745
|
-
_this.addTwoWay.call(_this, twoWays$3);
|
|
746
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
747
|
-
_this.formContext = new ej2AngularBase.FormBase();
|
|
748
|
-
_this.formCompContext = new ej2AngularBase.ComponentBase();
|
|
749
|
-
return _this;
|
|
750
|
-
}
|
|
751
|
-
/**
|
|
752
|
-
* @param {?} registerFunction
|
|
753
|
-
* @return {?}
|
|
754
|
-
*/
|
|
755
|
-
MultiSelectComponent.prototype.registerOnChange = function (registerFunction) {
|
|
756
|
-
};
|
|
757
|
-
/**
|
|
758
|
-
* @param {?} registerFunction
|
|
759
|
-
* @return {?}
|
|
760
|
-
*/
|
|
761
|
-
MultiSelectComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
762
|
-
};
|
|
763
|
-
/**
|
|
764
|
-
* @param {?} value
|
|
765
|
-
* @return {?}
|
|
766
|
-
*/
|
|
767
|
-
MultiSelectComponent.prototype.writeValue = function (value) {
|
|
768
|
-
};
|
|
769
|
-
/**
|
|
770
|
-
* @param {?} disabled
|
|
771
|
-
* @return {?}
|
|
772
|
-
*/
|
|
773
|
-
MultiSelectComponent.prototype.setDisabledState = function (disabled) {
|
|
774
|
-
};
|
|
775
|
-
/**
|
|
776
|
-
* @return {?}
|
|
777
|
-
*/
|
|
778
|
-
MultiSelectComponent.prototype.ngOnInit = function () {
|
|
779
|
-
this.formCompContext.ngOnInit(this);
|
|
780
|
-
};
|
|
781
|
-
/**
|
|
782
|
-
* @return {?}
|
|
783
|
-
*/
|
|
784
|
-
MultiSelectComponent.prototype.ngAfterViewInit = function () {
|
|
785
|
-
this.formContext.ngAfterViewInit(this);
|
|
786
|
-
};
|
|
787
|
-
/**
|
|
788
|
-
* @return {?}
|
|
789
|
-
*/
|
|
790
|
-
MultiSelectComponent.prototype.ngOnDestroy = function () {
|
|
791
|
-
this.formCompContext.ngOnDestroy(this);
|
|
792
|
-
};
|
|
793
|
-
/**
|
|
794
|
-
* @return {?}
|
|
795
|
-
*/
|
|
796
|
-
MultiSelectComponent.prototype.ngAfterContentChecked = function () {
|
|
797
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
798
|
-
};
|
|
799
|
-
return MultiSelectComponent;
|
|
800
|
-
}(ej2Dropdowns.MultiSelect));
|
|
801
|
-
exports.MultiSelectComponent.decorators = [
|
|
802
|
-
{ type: core.Component, args: [{
|
|
803
|
-
selector: 'ejs-multiselect',
|
|
804
|
-
inputs: inputs$3,
|
|
805
|
-
outputs: outputs$3,
|
|
806
|
-
template: '',
|
|
807
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
808
|
-
providers: [
|
|
809
|
-
{
|
|
810
|
-
provide: forms.NG_VALUE_ACCESSOR,
|
|
811
|
-
useExisting: core.forwardRef(function () { return MultiSelectComponent_1; }),
|
|
812
|
-
multi: true
|
|
813
|
-
}
|
|
814
|
-
],
|
|
815
|
-
queries: {}
|
|
816
|
-
},] },
|
|
817
|
-
];
|
|
818
|
-
/**
|
|
819
|
-
* @nocollapse
|
|
820
|
-
*/
|
|
821
|
-
exports.MultiSelectComponent.ctorParameters = function () { return [
|
|
822
|
-
{ type: core.ElementRef, },
|
|
823
|
-
{ type: core.Renderer2, },
|
|
824
|
-
{ type: core.ViewContainerRef, },
|
|
825
|
-
{ type: core.Injector, },
|
|
826
|
-
{ type: core.ChangeDetectorRef, },
|
|
827
|
-
]; };
|
|
828
|
-
exports.MultiSelectComponent.propDecorators = {
|
|
829
|
-
'footerTemplate': [{ type: core.ContentChild, args: ['footerTemplate',] },],
|
|
830
|
-
'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
|
|
831
|
-
'valueTemplate': [{ type: core.ContentChild, args: ['valueTemplate',] },],
|
|
832
|
-
'itemTemplate': [{ type: core.ContentChild, args: ['itemTemplate',] },],
|
|
833
|
-
'groupTemplate': [{ type: core.ContentChild, args: ['groupTemplate',] },],
|
|
834
|
-
'noRecordsTemplate': [{ type: core.ContentChild, args: ['noRecordsTemplate',] },],
|
|
835
|
-
'actionFailureTemplate': [{ type: core.ContentChild, args: ['actionFailureTemplate',] },],
|
|
836
|
-
};
|
|
837
|
-
__decorate$3([
|
|
838
|
-
ej2AngularBase.Template(),
|
|
839
|
-
__metadata$3("design:type", Object)
|
|
840
|
-
], exports.MultiSelectComponent.prototype, "footerTemplate", void 0);
|
|
841
|
-
__decorate$3([
|
|
842
|
-
ej2AngularBase.Template(),
|
|
843
|
-
__metadata$3("design:type", Object)
|
|
844
|
-
], exports.MultiSelectComponent.prototype, "headerTemplate", void 0);
|
|
845
|
-
__decorate$3([
|
|
846
|
-
ej2AngularBase.Template(),
|
|
847
|
-
__metadata$3("design:type", Object)
|
|
848
|
-
], exports.MultiSelectComponent.prototype, "valueTemplate", void 0);
|
|
849
|
-
__decorate$3([
|
|
850
|
-
ej2AngularBase.Template(),
|
|
851
|
-
__metadata$3("design:type", Object)
|
|
852
|
-
], exports.MultiSelectComponent.prototype, "itemTemplate", void 0);
|
|
853
|
-
__decorate$3([
|
|
854
|
-
ej2AngularBase.Template(),
|
|
855
|
-
__metadata$3("design:type", Object)
|
|
856
|
-
], exports.MultiSelectComponent.prototype, "groupTemplate", void 0);
|
|
857
|
-
__decorate$3([
|
|
858
|
-
ej2AngularBase.Template('No records found'),
|
|
859
|
-
__metadata$3("design:type", Object)
|
|
860
|
-
], exports.MultiSelectComponent.prototype, "noRecordsTemplate", void 0);
|
|
861
|
-
__decorate$3([
|
|
862
|
-
ej2AngularBase.Template('Request failed'),
|
|
863
|
-
__metadata$3("design:type", Object)
|
|
864
|
-
], exports.MultiSelectComponent.prototype, "actionFailureTemplate", void 0);
|
|
865
|
-
exports.MultiSelectComponent = MultiSelectComponent_1 = __decorate$3([
|
|
866
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
|
|
867
|
-
__metadata$3("design:paramtypes", [core.ElementRef,
|
|
868
|
-
core.Renderer2,
|
|
869
|
-
core.ViewContainerRef,
|
|
870
|
-
core.Injector,
|
|
871
|
-
core.ChangeDetectorRef])
|
|
872
|
-
], exports.MultiSelectComponent);
|
|
873
|
-
var MultiSelectComponent_1;
|
|
874
|
-
/**
|
|
875
|
-
* NgModule definition for the MultiSelect component.
|
|
876
|
-
*/
|
|
877
|
-
var MultiSelectModule = /** @class */ (function () {
|
|
878
|
-
function MultiSelectModule() {
|
|
879
|
-
}
|
|
880
|
-
return MultiSelectModule;
|
|
881
|
-
}());
|
|
882
|
-
MultiSelectModule.decorators = [
|
|
883
|
-
{ type: core.NgModule, args: [{
|
|
884
|
-
imports: [common.CommonModule],
|
|
885
|
-
declarations: [
|
|
886
|
-
exports.MultiSelectComponent
|
|
887
|
-
],
|
|
888
|
-
exports: [
|
|
889
|
-
exports.MultiSelectComponent
|
|
890
|
-
]
|
|
891
|
-
},] },
|
|
892
|
-
];
|
|
893
|
-
/**
|
|
894
|
-
* @nocollapse
|
|
895
|
-
*/
|
|
896
|
-
MultiSelectModule.ctorParameters = function () { return []; };
|
|
897
|
-
var CheckBoxSelectionService = { provide: 'DropDownsCheckBoxSelection', useValue: ej2Dropdowns.CheckBoxSelection };
|
|
898
|
-
/**
|
|
899
|
-
* NgModule definition for the MultiSelect component with providers.
|
|
900
|
-
*/
|
|
901
|
-
var MultiSelectAllModule = /** @class */ (function () {
|
|
902
|
-
function MultiSelectAllModule() {
|
|
903
|
-
}
|
|
904
|
-
return MultiSelectAllModule;
|
|
905
|
-
}());
|
|
906
|
-
MultiSelectAllModule.decorators = [
|
|
907
|
-
{ type: core.NgModule, args: [{
|
|
908
|
-
imports: [common.CommonModule, MultiSelectModule],
|
|
909
|
-
exports: [
|
|
910
|
-
MultiSelectModule
|
|
911
|
-
],
|
|
912
|
-
providers: [
|
|
913
|
-
CheckBoxSelectionService
|
|
914
|
-
]
|
|
915
|
-
},] },
|
|
916
|
-
];
|
|
917
|
-
/**
|
|
918
|
-
* @nocollapse
|
|
919
|
-
*/
|
|
920
|
-
MultiSelectAllModule.ctorParameters = function () { return []; };
|
|
921
|
-
var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
922
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
923
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
924
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
925
|
-
else
|
|
926
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
927
|
-
if (d = decorators[i])
|
|
928
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
929
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
930
|
-
};
|
|
931
|
-
var __metadata$4 = (this && this.__metadata) || function (k, v) {
|
|
932
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
933
|
-
return Reflect.metadata(k, v);
|
|
934
|
-
};
|
|
935
|
-
var inputs$4 = ['actionFailureTemplate', 'allowDragAndDrop', 'allowFiltering', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'groupTemplate', 'height', 'ignoreAccent', 'ignoreCase', 'itemTemplate', 'locale', 'maximumSelectionLength', 'noRecordsTemplate', 'query', 'scope', 'selectionSettings', 'sortOrder', 'toolbarSettings', 'value', 'zIndex'];
|
|
936
|
-
var outputs$4 = ['focus', 'blur', 'actionBegin', 'actionComplete', 'actionFailure', 'beforeDrop', 'beforeItemRender', 'change', 'created', 'dataBound', 'destroyed', 'drag', 'dragStart', 'drop', 'filtering', 'select', 'valueChange'];
|
|
937
|
-
var twoWays$4 = ['value'];
|
|
938
|
-
/**
|
|
939
|
-
* The ListBox allows the user to select values from the predefined list of values.
|
|
940
|
-
* ```html
|
|
941
|
-
* <ejs-listbox [dataSource]='data'></ejs-listbox>
|
|
942
|
-
* ```
|
|
943
|
-
*/
|
|
944
|
-
exports.ListBoxComponent = ListBoxComponent_1 = /** @class */ (function (_super) {
|
|
945
|
-
__extends(ListBoxComponent, _super);
|
|
946
|
-
/**
|
|
947
|
-
* @param {?} ngEle
|
|
948
|
-
* @param {?} srenderer
|
|
949
|
-
* @param {?} viewContainerRef
|
|
950
|
-
* @param {?} injector
|
|
951
|
-
* @param {?} cdr
|
|
952
|
-
*/
|
|
953
|
-
function ListBoxComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
954
|
-
var _this = _super.call(this) || this;
|
|
955
|
-
_this.ngEle = ngEle;
|
|
956
|
-
_this.srenderer = srenderer;
|
|
957
|
-
_this.viewContainerRef = viewContainerRef;
|
|
958
|
-
_this.injector = injector;
|
|
959
|
-
_this.cdr = cdr;
|
|
960
|
-
_this.element = _this.ngEle.nativeElement;
|
|
961
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
962
|
-
try {
|
|
963
|
-
var mod = _this.injector.get('DropDownsCheckBoxSelection');
|
|
964
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
965
|
-
_this.injectedModules.push(mod);
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
catch (_a) { }
|
|
969
|
-
_this.registerEvents(outputs$4);
|
|
970
|
-
_this.addTwoWay.call(_this, twoWays$4);
|
|
971
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
972
|
-
_this.formContext = new ej2AngularBase.FormBase();
|
|
973
|
-
_this.formCompContext = new ej2AngularBase.ComponentBase();
|
|
974
|
-
return _this;
|
|
975
|
-
}
|
|
976
|
-
/**
|
|
977
|
-
* @param {?} registerFunction
|
|
978
|
-
* @return {?}
|
|
979
|
-
*/
|
|
980
|
-
ListBoxComponent.prototype.registerOnChange = function (registerFunction) {
|
|
981
|
-
};
|
|
982
|
-
/**
|
|
983
|
-
* @param {?} registerFunction
|
|
984
|
-
* @return {?}
|
|
985
|
-
*/
|
|
986
|
-
ListBoxComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
987
|
-
};
|
|
988
|
-
/**
|
|
989
|
-
* @param {?} value
|
|
990
|
-
* @return {?}
|
|
991
|
-
*/
|
|
992
|
-
ListBoxComponent.prototype.writeValue = function (value) {
|
|
993
|
-
};
|
|
994
|
-
/**
|
|
995
|
-
* @param {?} disabled
|
|
996
|
-
* @return {?}
|
|
997
|
-
*/
|
|
998
|
-
ListBoxComponent.prototype.setDisabledState = function (disabled) {
|
|
999
|
-
};
|
|
1000
|
-
/**
|
|
1001
|
-
* @return {?}
|
|
1002
|
-
*/
|
|
1003
|
-
ListBoxComponent.prototype.ngOnInit = function () {
|
|
1004
|
-
this.formCompContext.ngOnInit(this);
|
|
1005
|
-
};
|
|
1006
|
-
/**
|
|
1007
|
-
* @return {?}
|
|
1008
|
-
*/
|
|
1009
|
-
ListBoxComponent.prototype.ngAfterViewInit = function () {
|
|
1010
|
-
this.formContext.ngAfterViewInit(this);
|
|
1011
|
-
};
|
|
1012
|
-
/**
|
|
1013
|
-
* @return {?}
|
|
1014
|
-
*/
|
|
1015
|
-
ListBoxComponent.prototype.ngOnDestroy = function () {
|
|
1016
|
-
this.formCompContext.ngOnDestroy(this);
|
|
1017
|
-
};
|
|
1018
|
-
/**
|
|
1019
|
-
* @return {?}
|
|
1020
|
-
*/
|
|
1021
|
-
ListBoxComponent.prototype.ngAfterContentChecked = function () {
|
|
1022
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
1023
|
-
};
|
|
1024
|
-
return ListBoxComponent;
|
|
1025
|
-
}(ej2Dropdowns.ListBox));
|
|
1026
|
-
exports.ListBoxComponent.decorators = [
|
|
1027
|
-
{ type: core.Component, args: [{
|
|
1028
|
-
selector: 'ejs-listbox',
|
|
1029
|
-
inputs: inputs$4,
|
|
1030
|
-
outputs: outputs$4,
|
|
1031
|
-
template: '',
|
|
1032
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
1033
|
-
providers: [
|
|
1034
|
-
{
|
|
1035
|
-
provide: forms.NG_VALUE_ACCESSOR,
|
|
1036
|
-
useExisting: core.forwardRef(function () { return ListBoxComponent_1; }),
|
|
1037
|
-
multi: true
|
|
1038
|
-
}
|
|
1039
|
-
],
|
|
1040
|
-
queries: {}
|
|
1041
|
-
},] },
|
|
1042
|
-
];
|
|
1043
|
-
/**
|
|
1044
|
-
* @nocollapse
|
|
1045
|
-
*/
|
|
1046
|
-
exports.ListBoxComponent.ctorParameters = function () { return [
|
|
1047
|
-
{ type: core.ElementRef, },
|
|
1048
|
-
{ type: core.Renderer2, },
|
|
1049
|
-
{ type: core.ViewContainerRef, },
|
|
1050
|
-
{ type: core.Injector, },
|
|
1051
|
-
{ type: core.ChangeDetectorRef, },
|
|
1052
|
-
]; };
|
|
1053
|
-
exports.ListBoxComponent.propDecorators = {
|
|
1054
|
-
'itemTemplate': [{ type: core.ContentChild, args: ['itemTemplate',] },],
|
|
1055
|
-
'noRecordsTemplate': [{ type: core.ContentChild, args: ['noRecordsTemplate',] },],
|
|
1056
|
-
};
|
|
1057
|
-
__decorate$4([
|
|
1058
|
-
ej2AngularBase.Template(),
|
|
1059
|
-
__metadata$4("design:type", Object)
|
|
1060
|
-
], exports.ListBoxComponent.prototype, "itemTemplate", void 0);
|
|
1061
|
-
__decorate$4([
|
|
1062
|
-
ej2AngularBase.Template('No records found'),
|
|
1063
|
-
__metadata$4("design:type", Object)
|
|
1064
|
-
], exports.ListBoxComponent.prototype, "noRecordsTemplate", void 0);
|
|
1065
|
-
exports.ListBoxComponent = ListBoxComponent_1 = __decorate$4([
|
|
1066
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
|
|
1067
|
-
__metadata$4("design:paramtypes", [core.ElementRef,
|
|
1068
|
-
core.Renderer2,
|
|
1069
|
-
core.ViewContainerRef,
|
|
1070
|
-
core.Injector,
|
|
1071
|
-
core.ChangeDetectorRef])
|
|
1072
|
-
], exports.ListBoxComponent);
|
|
1073
|
-
var ListBoxComponent_1;
|
|
1074
|
-
/**
|
|
1075
|
-
* NgModule definition for the ListBox component.
|
|
1076
|
-
*/
|
|
1077
|
-
var ListBoxModule = /** @class */ (function () {
|
|
1078
|
-
function ListBoxModule() {
|
|
1079
|
-
}
|
|
1080
|
-
return ListBoxModule;
|
|
1081
|
-
}());
|
|
1082
|
-
ListBoxModule.decorators = [
|
|
1083
|
-
{ type: core.NgModule, args: [{
|
|
1084
|
-
imports: [common.CommonModule],
|
|
1085
|
-
declarations: [
|
|
1086
|
-
exports.ListBoxComponent
|
|
1087
|
-
],
|
|
1088
|
-
exports: [
|
|
1089
|
-
exports.ListBoxComponent
|
|
1090
|
-
]
|
|
1091
|
-
},] },
|
|
1092
|
-
];
|
|
1093
|
-
/**
|
|
1094
|
-
* @nocollapse
|
|
1095
|
-
*/
|
|
1096
|
-
ListBoxModule.ctorParameters = function () { return []; };
|
|
1097
|
-
/**
|
|
1098
|
-
* NgModule definition for the ListBox component with providers.
|
|
1099
|
-
*/
|
|
1100
|
-
var ListBoxAllModule = /** @class */ (function () {
|
|
1101
|
-
function ListBoxAllModule() {
|
|
1102
|
-
}
|
|
1103
|
-
return ListBoxAllModule;
|
|
1104
|
-
}());
|
|
1105
|
-
ListBoxAllModule.decorators = [
|
|
1106
|
-
{ type: core.NgModule, args: [{
|
|
1107
|
-
imports: [common.CommonModule, ListBoxModule],
|
|
1108
|
-
exports: [
|
|
1109
|
-
ListBoxModule
|
|
1110
|
-
],
|
|
1111
|
-
providers: []
|
|
1112
|
-
},] },
|
|
1113
|
-
];
|
|
1114
|
-
/**
|
|
1115
|
-
* @nocollapse
|
|
1116
|
-
*/
|
|
1117
|
-
ListBoxAllModule.ctorParameters = function () { return []; };
|
|
1118
|
-
var __decorate$5 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1119
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1120
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1121
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
1122
|
-
else
|
|
1123
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
1124
|
-
if (d = decorators[i])
|
|
1125
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1126
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1127
|
-
};
|
|
1128
|
-
var __metadata$5 = (this && this.__metadata) || function (k, v) {
|
|
1129
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1130
|
-
return Reflect.metadata(k, v);
|
|
1131
|
-
};
|
|
1132
|
-
var inputs$5 = ['actionFailureTemplate', 'allowFiltering', 'allowMultiSelection', 'changeOnBlur', 'cssClass', 'customTemplate', 'delimiterChar', 'destroyPopupOnHide', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'headerTemplate', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'itemTemplate', 'locale', 'mode', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'readonly', 'selectAllText', 'showCheckBox', 'showClearButton', 'showDropDownIcon', 'showSelectAll', 'sortOrder', 'text', 'treeSettings', 'unSelectAllText', 'value', 'valueTemplate', 'width', 'wrapText', 'zIndex'];
|
|
1133
|
-
var outputs$5 = ['actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'dataBound', 'destroyed', 'filtering', 'focus', 'keyPress', 'open', 'select', 'valueChange'];
|
|
1134
|
-
var twoWays$5 = ['value'];
|
|
1135
|
-
/**
|
|
1136
|
-
* The DropDownTree component contains a list of predefined values from which you can choose a single or multiple values.
|
|
1137
|
-
* ```html
|
|
1138
|
-
* <ejs-dropdowntree></ejs-dropdowntree>
|
|
1139
|
-
* ```
|
|
1140
|
-
*/
|
|
1141
|
-
exports.DropDownTreeComponent = DropDownTreeComponent_1 = /** @class */ (function (_super) {
|
|
1142
|
-
__extends(DropDownTreeComponent, _super);
|
|
1143
|
-
/**
|
|
1144
|
-
* @param {?} ngEle
|
|
1145
|
-
* @param {?} srenderer
|
|
1146
|
-
* @param {?} viewContainerRef
|
|
1147
|
-
* @param {?} injector
|
|
1148
|
-
* @param {?} cdr
|
|
1149
|
-
*/
|
|
1150
|
-
function DropDownTreeComponent(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
1151
|
-
var _this = _super.call(this) || this;
|
|
1152
|
-
_this.ngEle = ngEle;
|
|
1153
|
-
_this.srenderer = srenderer;
|
|
1154
|
-
_this.viewContainerRef = viewContainerRef;
|
|
1155
|
-
_this.injector = injector;
|
|
1156
|
-
_this.cdr = cdr;
|
|
1157
|
-
_this.skipFromEvent = true;
|
|
1158
|
-
_this.element = _this.ngEle.nativeElement;
|
|
1159
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
1160
|
-
_this.registerEvents(outputs$5);
|
|
1161
|
-
_this.addTwoWay.call(_this, twoWays$5);
|
|
1162
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
1163
|
-
_this.formContext = new ej2AngularBase.FormBase();
|
|
1164
|
-
_this.formCompContext = new ej2AngularBase.ComponentBase();
|
|
1165
|
-
return _this;
|
|
1166
|
-
}
|
|
1167
|
-
/**
|
|
1168
|
-
* @param {?} registerFunction
|
|
1169
|
-
* @return {?}
|
|
1170
|
-
*/
|
|
1171
|
-
DropDownTreeComponent.prototype.registerOnChange = function (registerFunction) {
|
|
1172
|
-
};
|
|
1173
|
-
/**
|
|
1174
|
-
* @param {?} registerFunction
|
|
1175
|
-
* @return {?}
|
|
1176
|
-
*/
|
|
1177
|
-
DropDownTreeComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
1178
|
-
};
|
|
1179
|
-
/**
|
|
1180
|
-
* @param {?} value
|
|
1181
|
-
* @return {?}
|
|
1182
|
-
*/
|
|
1183
|
-
DropDownTreeComponent.prototype.writeValue = function (value) {
|
|
1184
|
-
};
|
|
1185
|
-
/**
|
|
1186
|
-
* @param {?} disabled
|
|
1187
|
-
* @return {?}
|
|
1188
|
-
*/
|
|
1189
|
-
DropDownTreeComponent.prototype.setDisabledState = function (disabled) {
|
|
1190
|
-
};
|
|
1191
|
-
/**
|
|
1192
|
-
* @return {?}
|
|
1193
|
-
*/
|
|
1194
|
-
DropDownTreeComponent.prototype.ngOnInit = function () {
|
|
1195
|
-
this.formCompContext.ngOnInit(this);
|
|
1196
|
-
};
|
|
1197
|
-
/**
|
|
1198
|
-
* @return {?}
|
|
1199
|
-
*/
|
|
1200
|
-
DropDownTreeComponent.prototype.ngAfterViewInit = function () {
|
|
1201
|
-
this.formContext.ngAfterViewInit(this);
|
|
1202
|
-
};
|
|
1203
|
-
/**
|
|
1204
|
-
* @return {?}
|
|
1205
|
-
*/
|
|
1206
|
-
DropDownTreeComponent.prototype.ngOnDestroy = function () {
|
|
1207
|
-
this.formCompContext.ngOnDestroy(this);
|
|
1208
|
-
};
|
|
1209
|
-
/**
|
|
1210
|
-
* @return {?}
|
|
1211
|
-
*/
|
|
1212
|
-
DropDownTreeComponent.prototype.ngAfterContentChecked = function () {
|
|
1213
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
1214
|
-
};
|
|
1215
|
-
return DropDownTreeComponent;
|
|
1216
|
-
}(ej2Dropdowns.DropDownTree));
|
|
1217
|
-
exports.DropDownTreeComponent.decorators = [
|
|
1218
|
-
{ type: core.Component, args: [{
|
|
1219
|
-
selector: 'ejs-dropdowntree',
|
|
1220
|
-
inputs: inputs$5,
|
|
1221
|
-
outputs: outputs$5,
|
|
1222
|
-
template: '',
|
|
1223
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
1224
|
-
providers: [
|
|
1225
|
-
{
|
|
1226
|
-
provide: forms.NG_VALUE_ACCESSOR,
|
|
1227
|
-
useExisting: core.forwardRef(function () { return DropDownTreeComponent_1; }),
|
|
1228
|
-
multi: true
|
|
1229
|
-
}
|
|
1230
|
-
],
|
|
1231
|
-
queries: {}
|
|
1232
|
-
},] },
|
|
1233
|
-
];
|
|
1234
|
-
/**
|
|
1235
|
-
* @nocollapse
|
|
1236
|
-
*/
|
|
1237
|
-
exports.DropDownTreeComponent.ctorParameters = function () { return [
|
|
1238
|
-
{ type: core.ElementRef, },
|
|
1239
|
-
{ type: core.Renderer2, },
|
|
1240
|
-
{ type: core.ViewContainerRef, },
|
|
1241
|
-
{ type: core.Injector, },
|
|
1242
|
-
{ type: core.ChangeDetectorRef, },
|
|
1243
|
-
]; };
|
|
1244
|
-
exports.DropDownTreeComponent.propDecorators = {
|
|
1245
|
-
'footerTemplate': [{ type: core.ContentChild, args: ['footerTemplate',] },],
|
|
1246
|
-
'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
|
|
1247
|
-
'valueTemplate': [{ type: core.ContentChild, args: ['valueTemplate',] },],
|
|
1248
|
-
'itemTemplate': [{ type: core.ContentChild, args: ['itemTemplate',] },],
|
|
1249
|
-
'noRecordsTemplate': [{ type: core.ContentChild, args: ['noRecordsTemplate',] },],
|
|
1250
|
-
'actionFailureTemplate': [{ type: core.ContentChild, args: ['actionFailureTemplate',] },],
|
|
1251
|
-
};
|
|
1252
|
-
__decorate$5([
|
|
1253
|
-
ej2AngularBase.Template(),
|
|
1254
|
-
__metadata$5("design:type", Object)
|
|
1255
|
-
], exports.DropDownTreeComponent.prototype, "footerTemplate", void 0);
|
|
1256
|
-
__decorate$5([
|
|
1257
|
-
ej2AngularBase.Template(),
|
|
1258
|
-
__metadata$5("design:type", Object)
|
|
1259
|
-
], exports.DropDownTreeComponent.prototype, "headerTemplate", void 0);
|
|
1260
|
-
__decorate$5([
|
|
1261
|
-
ej2AngularBase.Template(),
|
|
1262
|
-
__metadata$5("design:type", Object)
|
|
1263
|
-
], exports.DropDownTreeComponent.prototype, "valueTemplate", void 0);
|
|
1264
|
-
__decorate$5([
|
|
1265
|
-
ej2AngularBase.Template(),
|
|
1266
|
-
__metadata$5("design:type", Object)
|
|
1267
|
-
], exports.DropDownTreeComponent.prototype, "itemTemplate", void 0);
|
|
1268
|
-
__decorate$5([
|
|
1269
|
-
ej2AngularBase.Template('No Records Found'),
|
|
1270
|
-
__metadata$5("design:type", Object)
|
|
1271
|
-
], exports.DropDownTreeComponent.prototype, "noRecordsTemplate", void 0);
|
|
1272
|
-
__decorate$5([
|
|
1273
|
-
ej2AngularBase.Template('The Request Failed'),
|
|
1274
|
-
__metadata$5("design:type", Object)
|
|
1275
|
-
], exports.DropDownTreeComponent.prototype, "actionFailureTemplate", void 0);
|
|
1276
|
-
exports.DropDownTreeComponent = DropDownTreeComponent_1 = __decorate$5([
|
|
1277
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase, ej2AngularBase.FormBase]),
|
|
1278
|
-
__metadata$5("design:paramtypes", [core.ElementRef,
|
|
1279
|
-
core.Renderer2,
|
|
1280
|
-
core.ViewContainerRef,
|
|
1281
|
-
core.Injector,
|
|
1282
|
-
core.ChangeDetectorRef])
|
|
1283
|
-
], exports.DropDownTreeComponent);
|
|
1284
|
-
var DropDownTreeComponent_1;
|
|
1285
|
-
/**
|
|
1286
|
-
* NgModule definition for the DropDownTree component.
|
|
1287
|
-
*/
|
|
1288
|
-
var DropDownTreeModule = /** @class */ (function () {
|
|
1289
|
-
function DropDownTreeModule() {
|
|
1290
|
-
}
|
|
1291
|
-
return DropDownTreeModule;
|
|
1292
|
-
}());
|
|
1293
|
-
DropDownTreeModule.decorators = [
|
|
1294
|
-
{ type: core.NgModule, args: [{
|
|
1295
|
-
imports: [common.CommonModule],
|
|
1296
|
-
declarations: [
|
|
1297
|
-
exports.DropDownTreeComponent
|
|
1298
|
-
],
|
|
1299
|
-
exports: [
|
|
1300
|
-
exports.DropDownTreeComponent
|
|
1301
|
-
]
|
|
1302
|
-
},] },
|
|
1303
|
-
];
|
|
1304
|
-
/**
|
|
1305
|
-
* @nocollapse
|
|
1306
|
-
*/
|
|
1307
|
-
DropDownTreeModule.ctorParameters = function () { return []; };
|
|
1308
|
-
/**
|
|
1309
|
-
* NgModule definition for the DropDownTree component with providers.
|
|
1310
|
-
*/
|
|
1311
|
-
var DropDownTreeAllModule = /** @class */ (function () {
|
|
1312
|
-
function DropDownTreeAllModule() {
|
|
1313
|
-
}
|
|
1314
|
-
return DropDownTreeAllModule;
|
|
1315
|
-
}());
|
|
1316
|
-
DropDownTreeAllModule.decorators = [
|
|
1317
|
-
{ type: core.NgModule, args: [{
|
|
1318
|
-
imports: [common.CommonModule, DropDownTreeModule],
|
|
1319
|
-
exports: [
|
|
1320
|
-
DropDownTreeModule
|
|
1321
|
-
],
|
|
1322
|
-
providers: []
|
|
1323
|
-
},] },
|
|
1324
|
-
];
|
|
1325
|
-
/**
|
|
1326
|
-
* @nocollapse
|
|
1327
|
-
*/
|
|
1328
|
-
DropDownTreeAllModule.ctorParameters = function () { return []; };
|
|
1329
|
-
var __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1330
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1331
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1332
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
1333
|
-
else
|
|
1334
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
1335
|
-
if (d = decorators[i])
|
|
1336
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1337
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1338
|
-
};
|
|
1339
|
-
var __metadata$6 = (this && this.__metadata) || function (k, v) {
|
|
1340
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1341
|
-
return Reflect.metadata(k, v);
|
|
1342
|
-
};
|
|
1343
|
-
var inputs$6 = ['allowSpaces', 'cssClass', 'dataSource', 'debounceDelay', 'displayTemplate', 'fields', 'filterType', 'highlight', 'ignoreCase', 'itemTemplate', 'locale', 'mentionChar', 'minLength', 'noRecordsTemplate', 'popupHeight', 'popupWidth', 'query', 'requireLeadingSpace', 'showMentionChar', 'sortOrder', 'spinnerTemplate', 'suffixText', 'suggestionCount', 'target'];
|
|
1344
|
-
var outputs$6 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'change', 'closed', 'created', 'destroyed', 'filtering', 'opened', 'select'];
|
|
1345
|
-
var twoWays$6 = [''];
|
|
1346
|
-
/**
|
|
1347
|
-
* The Mention component contains a list of predefined values, from which the user can choose a single value.
|
|
1348
|
-
* ```html
|
|
1349
|
-
* <ejs-mention></ejs-mention>
|
|
1350
|
-
* ```
|
|
1351
|
-
*/
|
|
1352
|
-
exports.MentionComponent = /** @class */ (function (_super) {
|
|
1353
|
-
__extends(MentionComponent, _super);
|
|
1354
|
-
/**
|
|
1355
|
-
* @param {?} ngEle
|
|
1356
|
-
* @param {?} srenderer
|
|
1357
|
-
* @param {?} viewContainerRef
|
|
1358
|
-
* @param {?} injector
|
|
1359
|
-
*/
|
|
1360
|
-
function MentionComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
1361
|
-
var _this = _super.call(this) || this;
|
|
1362
|
-
_this.ngEle = ngEle;
|
|
1363
|
-
_this.srenderer = srenderer;
|
|
1364
|
-
_this.viewContainerRef = viewContainerRef;
|
|
1365
|
-
_this.injector = injector;
|
|
1366
|
-
_this.element = _this.ngEle.nativeElement;
|
|
1367
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
1368
|
-
_this.registerEvents(outputs$6);
|
|
1369
|
-
_this.addTwoWay.call(_this, twoWays$6);
|
|
1370
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
1371
|
-
_this.containerContext = new ej2AngularBase.ComponentBase();
|
|
1372
|
-
return _this;
|
|
1373
|
-
}
|
|
1374
|
-
/**
|
|
1375
|
-
* @return {?}
|
|
1376
|
-
*/
|
|
1377
|
-
MentionComponent.prototype.ngOnInit = function () {
|
|
1378
|
-
this.containerContext.ngOnInit(this);
|
|
1379
|
-
};
|
|
1380
|
-
/**
|
|
1381
|
-
* @return {?}
|
|
1382
|
-
*/
|
|
1383
|
-
MentionComponent.prototype.ngAfterViewInit = function () {
|
|
1384
|
-
this.containerContext.ngAfterViewInit(this);
|
|
1385
|
-
};
|
|
1386
|
-
/**
|
|
1387
|
-
* @return {?}
|
|
1388
|
-
*/
|
|
1389
|
-
MentionComponent.prototype.ngOnDestroy = function () {
|
|
1390
|
-
this.containerContext.ngOnDestroy(this);
|
|
1391
|
-
};
|
|
1392
|
-
/**
|
|
1393
|
-
* @return {?}
|
|
1394
|
-
*/
|
|
1395
|
-
MentionComponent.prototype.ngAfterContentChecked = function () {
|
|
1396
|
-
this.containerContext.ngAfterContentChecked(this);
|
|
1397
|
-
};
|
|
1398
|
-
return MentionComponent;
|
|
1399
|
-
}(ej2Dropdowns.Mention));
|
|
1400
|
-
exports.MentionComponent.decorators = [
|
|
1401
|
-
{ type: core.Component, args: [{
|
|
1402
|
-
selector: 'ejs-mention',
|
|
1403
|
-
inputs: inputs$6,
|
|
1404
|
-
outputs: outputs$6,
|
|
1405
|
-
template: "<ng-content ></ng-content>",
|
|
1406
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
1407
|
-
queries: {}
|
|
1408
|
-
},] },
|
|
1409
|
-
];
|
|
1410
|
-
/**
|
|
1411
|
-
* @nocollapse
|
|
1412
|
-
*/
|
|
1413
|
-
exports.MentionComponent.ctorParameters = function () { return [
|
|
1414
|
-
{ type: core.ElementRef, },
|
|
1415
|
-
{ type: core.Renderer2, },
|
|
1416
|
-
{ type: core.ViewContainerRef, },
|
|
1417
|
-
{ type: core.Injector, },
|
|
1418
|
-
]; };
|
|
1419
|
-
exports.MentionComponent.propDecorators = {
|
|
1420
|
-
'displayTemplate': [{ type: core.ContentChild, args: ['displayTemplate',] },],
|
|
1421
|
-
'itemTemplate': [{ type: core.ContentChild, args: ['itemTemplate',] },],
|
|
1422
|
-
'spinnerTemplate': [{ type: core.ContentChild, args: ['spinnerTemplate',] },],
|
|
1423
|
-
'noRecordsTemplate': [{ type: core.ContentChild, args: ['noRecordsTemplate',] },],
|
|
1424
|
-
};
|
|
1425
|
-
__decorate$6([
|
|
1426
|
-
ej2AngularBase.Template(),
|
|
1427
|
-
__metadata$6("design:type", Object)
|
|
1428
|
-
], exports.MentionComponent.prototype, "displayTemplate", void 0);
|
|
1429
|
-
__decorate$6([
|
|
1430
|
-
ej2AngularBase.Template(),
|
|
1431
|
-
__metadata$6("design:type", Object)
|
|
1432
|
-
], exports.MentionComponent.prototype, "itemTemplate", void 0);
|
|
1433
|
-
__decorate$6([
|
|
1434
|
-
ej2AngularBase.Template(),
|
|
1435
|
-
__metadata$6("design:type", Object)
|
|
1436
|
-
], exports.MentionComponent.prototype, "spinnerTemplate", void 0);
|
|
1437
|
-
__decorate$6([
|
|
1438
|
-
ej2AngularBase.Template('No records found'),
|
|
1439
|
-
__metadata$6("design:type", Object)
|
|
1440
|
-
], exports.MentionComponent.prototype, "noRecordsTemplate", void 0);
|
|
1441
|
-
exports.MentionComponent = __decorate$6([
|
|
1442
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
|
1443
|
-
__metadata$6("design:paramtypes", [core.ElementRef,
|
|
1444
|
-
core.Renderer2,
|
|
1445
|
-
core.ViewContainerRef,
|
|
1446
|
-
core.Injector])
|
|
1447
|
-
], exports.MentionComponent);
|
|
1448
|
-
/**
|
|
1449
|
-
* NgModule definition for the Mention component.
|
|
1450
|
-
*/
|
|
1451
|
-
var MentionModule = /** @class */ (function () {
|
|
1452
|
-
function MentionModule() {
|
|
1453
|
-
}
|
|
1454
|
-
return MentionModule;
|
|
1455
|
-
}());
|
|
1456
|
-
MentionModule.decorators = [
|
|
1457
|
-
{ type: core.NgModule, args: [{
|
|
1458
|
-
imports: [common.CommonModule],
|
|
1459
|
-
declarations: [
|
|
1460
|
-
exports.MentionComponent
|
|
1461
|
-
],
|
|
1462
|
-
exports: [
|
|
1463
|
-
exports.MentionComponent
|
|
1464
|
-
]
|
|
1465
|
-
},] },
|
|
1466
|
-
];
|
|
1467
|
-
/**
|
|
1468
|
-
* @nocollapse
|
|
1469
|
-
*/
|
|
1470
|
-
MentionModule.ctorParameters = function () { return []; };
|
|
1471
|
-
/**
|
|
1472
|
-
* NgModule definition for the Mention component with providers.
|
|
1473
|
-
*/
|
|
1474
|
-
var MentionAllModule = /** @class */ (function () {
|
|
1475
|
-
function MentionAllModule() {
|
|
1476
|
-
}
|
|
1477
|
-
return MentionAllModule;
|
|
1478
|
-
}());
|
|
1479
|
-
MentionAllModule.decorators = [
|
|
1480
|
-
{ type: core.NgModule, args: [{
|
|
1481
|
-
imports: [common.CommonModule, MentionModule],
|
|
1482
|
-
exports: [
|
|
1483
|
-
MentionModule
|
|
1484
|
-
],
|
|
1485
|
-
providers: []
|
|
1486
|
-
},] },
|
|
1487
|
-
];
|
|
1488
|
-
/**
|
|
1489
|
-
* @nocollapse
|
|
1490
|
-
*/
|
|
1491
|
-
MentionAllModule.ctorParameters = function () { return []; };
|
|
1492
|
-
|
|
1493
|
-
exports.DropDownListModule = DropDownListModule;
|
|
1494
|
-
exports.DropDownListAllModule = DropDownListAllModule;
|
|
1495
|
-
exports.VirtualScrollService = VirtualScrollService;
|
|
1496
|
-
exports.ComboBoxModule = ComboBoxModule;
|
|
1497
|
-
exports.ComboBoxAllModule = ComboBoxAllModule;
|
|
1498
|
-
exports.AutoCompleteModule = AutoCompleteModule;
|
|
1499
|
-
exports.AutoCompleteAllModule = AutoCompleteAllModule;
|
|
1500
|
-
exports.MultiSelectModule = MultiSelectModule;
|
|
1501
|
-
exports.MultiSelectAllModule = MultiSelectAllModule;
|
|
1502
|
-
exports.CheckBoxSelectionService = CheckBoxSelectionService;
|
|
1503
|
-
exports.ListBoxModule = ListBoxModule;
|
|
1504
|
-
exports.ListBoxAllModule = ListBoxAllModule;
|
|
1505
|
-
exports.DropDownTreeModule = DropDownTreeModule;
|
|
1506
|
-
exports.DropDownTreeAllModule = DropDownTreeAllModule;
|
|
1507
|
-
exports.MentionModule = MentionModule;
|
|
1508
|
-
exports.MentionAllModule = MentionAllModule;
|
|
1509
|
-
exports.ɵe = inputs$2;
|
|
1510
|
-
exports.ɵf = outputs$2;
|
|
1511
|
-
exports.ɵc = inputs$1;
|
|
1512
|
-
exports.ɵd = outputs$1;
|
|
1513
|
-
exports.ɵa = inputs;
|
|
1514
|
-
exports.ɵb = outputs;
|
|
1515
|
-
exports.ɵk = inputs$5;
|
|
1516
|
-
exports.ɵl = outputs$5;
|
|
1517
|
-
exports.ɵi = inputs$4;
|
|
1518
|
-
exports.ɵj = outputs$4;
|
|
1519
|
-
exports.ɵm = inputs$6;
|
|
1520
|
-
exports.ɵn = outputs$6;
|
|
1521
|
-
exports.ɵg = inputs$3;
|
|
1522
|
-
exports.ɵh = outputs$3;
|
|
1523
|
-
exports.incrementalSearch = ej2Dropdowns.incrementalSearch;
|
|
1524
|
-
exports.Search = ej2Dropdowns.Search;
|
|
1525
|
-
exports.escapeCharRegExp = ej2Dropdowns.escapeCharRegExp;
|
|
1526
|
-
exports.resetIncrementalSearchValues = ej2Dropdowns.resetIncrementalSearchValues;
|
|
1527
|
-
exports.highlightSearch = ej2Dropdowns.highlightSearch;
|
|
1528
|
-
exports.revertHighlightSearch = ej2Dropdowns.revertHighlightSearch;
|
|
1529
|
-
exports.VirtualScroll = ej2Dropdowns.VirtualScroll;
|
|
1530
|
-
exports.FieldSettings = ej2Dropdowns.FieldSettings;
|
|
1531
|
-
exports.dropDownBaseClasses = ej2Dropdowns.dropDownBaseClasses;
|
|
1532
|
-
exports.DropDownBase = ej2Dropdowns.DropDownBase;
|
|
1533
|
-
exports.dropDownListClasses = ej2Dropdowns.dropDownListClasses;
|
|
1534
|
-
exports.DropDownList = ej2Dropdowns.DropDownList;
|
|
1535
|
-
exports.Fields = ej2Dropdowns.Fields;
|
|
1536
|
-
exports.TreeSettings = ej2Dropdowns.TreeSettings;
|
|
1537
|
-
exports.DropDownTree = ej2Dropdowns.DropDownTree;
|
|
1538
|
-
exports.ComboBox = ej2Dropdowns.ComboBox;
|
|
1539
|
-
exports.AutoComplete = ej2Dropdowns.AutoComplete;
|
|
1540
|
-
exports.MultiSelect = ej2Dropdowns.MultiSelect;
|
|
1541
|
-
exports.CheckBoxSelection = ej2Dropdowns.CheckBoxSelection;
|
|
1542
|
-
exports.createFloatLabel = ej2Dropdowns.createFloatLabel;
|
|
1543
|
-
exports.updateFloatLabelState = ej2Dropdowns.updateFloatLabelState;
|
|
1544
|
-
exports.removeFloating = ej2Dropdowns.removeFloating;
|
|
1545
|
-
exports.setPlaceHolder = ej2Dropdowns.setPlaceHolder;
|
|
1546
|
-
exports.floatLabelFocus = ej2Dropdowns.floatLabelFocus;
|
|
1547
|
-
exports.floatLabelBlur = ej2Dropdowns.floatLabelBlur;
|
|
1548
|
-
exports.encodePlaceholder = ej2Dropdowns.encodePlaceholder;
|
|
1549
|
-
exports.SelectionSettings = ej2Dropdowns.SelectionSettings;
|
|
1550
|
-
exports.ToolbarSettings = ej2Dropdowns.ToolbarSettings;
|
|
1551
|
-
exports.ListBox = ej2Dropdowns.ListBox;
|
|
1552
|
-
exports.Mention = ej2Dropdowns.Mention;
|
|
1553
|
-
|
|
1554
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1555
|
-
|
|
1556
|
-
})));
|
|
1557
|
-
//# sourceMappingURL=ej2-angular-dropdowns.umd.js.map
|