@syncfusion/ej2-angular-dropdowns 32.1.25-ngcc → 32.1.25
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 +2736 -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
|
@@ -0,0 +1,1095 @@
|
|
|
1
|
+
import { __decorate } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { forwardRef, Component, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';
|
|
4
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
|
+
import { setValue, FormBase, ComponentBase, Template, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
6
|
+
import { DropDownList, VirtualScroll, ComboBox, AutoComplete, MultiSelect, CheckBoxSelection, ListBox, DropDownTree, Mention } from '@syncfusion/ej2-dropdowns';
|
|
7
|
+
export * from '@syncfusion/ej2-dropdowns';
|
|
8
|
+
import { CommonModule } from '@angular/common';
|
|
9
|
+
|
|
10
|
+
var DropDownListComponent_1;
|
|
11
|
+
const inputs$6 = ['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'];
|
|
12
|
+
const outputs$6 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'resizeStart', 'resizeStop', 'resizing', 'select', 'valueChange'];
|
|
13
|
+
const twoWays$6 = ['value'];
|
|
14
|
+
/**
|
|
15
|
+
*The DropDownList component contains a list of predefined values, from which the user can choose a single value.
|
|
16
|
+
*```html
|
|
17
|
+
*<ejs-dropdownlist></ejs-dropdownlist>
|
|
18
|
+
*```
|
|
19
|
+
*/
|
|
20
|
+
let DropDownListComponent = DropDownListComponent_1 = class DropDownListComponent extends DropDownList {
|
|
21
|
+
constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
22
|
+
super();
|
|
23
|
+
this.ngEle = ngEle;
|
|
24
|
+
this.srenderer = srenderer;
|
|
25
|
+
this.viewContainerRef = viewContainerRef;
|
|
26
|
+
this.injector = injector;
|
|
27
|
+
this.cdr = cdr;
|
|
28
|
+
this.skipFromEvent = true;
|
|
29
|
+
this.element = this.ngEle.nativeElement;
|
|
30
|
+
this.injectedModules = this.injectedModules || [];
|
|
31
|
+
try {
|
|
32
|
+
let mod = this.injector.get('DropDownsVirtualScroll');
|
|
33
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
34
|
+
this.injectedModules.push(mod);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
catch { }
|
|
38
|
+
this.registerEvents(outputs$6);
|
|
39
|
+
this.addTwoWay.call(this, twoWays$6);
|
|
40
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
41
|
+
this.formContext = new FormBase();
|
|
42
|
+
this.formCompContext = new ComponentBase();
|
|
43
|
+
}
|
|
44
|
+
registerOnChange(registerFunction) {
|
|
45
|
+
}
|
|
46
|
+
registerOnTouched(registerFunction) {
|
|
47
|
+
}
|
|
48
|
+
writeValue(value) {
|
|
49
|
+
}
|
|
50
|
+
setDisabledState(disabled) {
|
|
51
|
+
}
|
|
52
|
+
ngOnInit() {
|
|
53
|
+
this.formCompContext.ngOnInit(this);
|
|
54
|
+
}
|
|
55
|
+
ngAfterViewInit() {
|
|
56
|
+
this.formContext.ngAfterViewInit(this);
|
|
57
|
+
}
|
|
58
|
+
ngOnDestroy() {
|
|
59
|
+
this.formCompContext.ngOnDestroy(this);
|
|
60
|
+
}
|
|
61
|
+
ngAfterContentChecked() {
|
|
62
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
+
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: DropDownListComponent, selector: "ejs-dropdownlist", inputs: { actionFailureTemplate: "actionFailureTemplate", allowFiltering: "allowFiltering", allowObjectBinding: "allowObjectBinding", allowResize: "allowResize", cssClass: "cssClass", dataSource: "dataSource", debounceDelay: "debounceDelay", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", floatLabelType: "floatLabelType", footerTemplate: "footerTemplate", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", htmlAttributes: "htmlAttributes", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", index: "index", isDeviceFullScreen: "isDeviceFullScreen", itemTemplate: "itemTemplate", locale: "locale", noRecordsTemplate: "noRecordsTemplate", placeholder: "placeholder", popupHeight: "popupHeight", popupWidth: "popupWidth", query: "query", readonly: "readonly", showClearButton: "showClearButton", sortOrder: "sortOrder", text: "text", value: "value", valueTemplate: "valueTemplate", width: "width", zIndex: "zIndex" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeOpen: "beforeOpen", blur: "blur", change: "change", close: "close", created: "created", dataBound: "dataBound", destroyed: "destroyed", filtering: "filtering", focus: "focus", open: "open", resizeStart: "resizeStart", resizeStop: "resizeStop", resizing: "resizing", select: "select", valueChange: "valueChange" }, providers: [
|
|
67
|
+
{
|
|
68
|
+
provide: NG_VALUE_ACCESSOR,
|
|
69
|
+
useExisting: forwardRef(() => DropDownListComponent_1),
|
|
70
|
+
multi: true
|
|
71
|
+
}
|
|
72
|
+
], queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ["valueTemplate"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }, { propertyName: "actionFailureTemplate", first: true, predicate: ["actionFailureTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
73
|
+
__decorate([
|
|
74
|
+
Template()
|
|
75
|
+
], DropDownListComponent.prototype, "footerTemplate", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
Template()
|
|
78
|
+
], DropDownListComponent.prototype, "headerTemplate", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
Template()
|
|
81
|
+
], DropDownListComponent.prototype, "valueTemplate", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
Template()
|
|
84
|
+
], DropDownListComponent.prototype, "groupTemplate", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
Template()
|
|
87
|
+
], DropDownListComponent.prototype, "itemTemplate", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
Template('No records found')
|
|
90
|
+
], DropDownListComponent.prototype, "noRecordsTemplate", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
Template('Request failed')
|
|
93
|
+
], DropDownListComponent.prototype, "actionFailureTemplate", void 0);
|
|
94
|
+
DropDownListComponent = DropDownListComponent_1 = __decorate([
|
|
95
|
+
ComponentMixins([ComponentBase, FormBase])
|
|
96
|
+
], DropDownListComponent);
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListComponent, decorators: [{
|
|
98
|
+
type: Component,
|
|
99
|
+
args: [{
|
|
100
|
+
selector: 'ejs-dropdownlist',
|
|
101
|
+
inputs: inputs$6,
|
|
102
|
+
outputs: outputs$6,
|
|
103
|
+
template: '',
|
|
104
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
105
|
+
providers: [
|
|
106
|
+
{
|
|
107
|
+
provide: NG_VALUE_ACCESSOR,
|
|
108
|
+
useExisting: forwardRef(() => DropDownListComponent),
|
|
109
|
+
multi: true
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
queries: {}
|
|
113
|
+
}]
|
|
114
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { footerTemplate: [{
|
|
115
|
+
type: ContentChild,
|
|
116
|
+
args: ['footerTemplate']
|
|
117
|
+
}], headerTemplate: [{
|
|
118
|
+
type: ContentChild,
|
|
119
|
+
args: ['headerTemplate']
|
|
120
|
+
}], valueTemplate: [{
|
|
121
|
+
type: ContentChild,
|
|
122
|
+
args: ['valueTemplate']
|
|
123
|
+
}], groupTemplate: [{
|
|
124
|
+
type: ContentChild,
|
|
125
|
+
args: ['groupTemplate']
|
|
126
|
+
}], itemTemplate: [{
|
|
127
|
+
type: ContentChild,
|
|
128
|
+
args: ['itemTemplate']
|
|
129
|
+
}], noRecordsTemplate: [{
|
|
130
|
+
type: ContentChild,
|
|
131
|
+
args: ['noRecordsTemplate']
|
|
132
|
+
}], actionFailureTemplate: [{
|
|
133
|
+
type: ContentChild,
|
|
134
|
+
args: ['actionFailureTemplate']
|
|
135
|
+
}] } });
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* NgModule definition for the DropDownList component.
|
|
139
|
+
*/
|
|
140
|
+
class DropDownListModule {
|
|
141
|
+
}
|
|
142
|
+
DropDownListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
143
|
+
DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListModule, declarations: [DropDownListComponent], imports: [CommonModule], exports: [DropDownListComponent] });
|
|
144
|
+
DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListModule, imports: [[CommonModule]] });
|
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListModule, decorators: [{
|
|
146
|
+
type: NgModule,
|
|
147
|
+
args: [{
|
|
148
|
+
imports: [CommonModule],
|
|
149
|
+
declarations: [
|
|
150
|
+
DropDownListComponent
|
|
151
|
+
],
|
|
152
|
+
exports: [
|
|
153
|
+
DropDownListComponent
|
|
154
|
+
]
|
|
155
|
+
}]
|
|
156
|
+
}] });
|
|
157
|
+
|
|
158
|
+
const VirtualScrollService = { provide: 'DropDownsVirtualScroll', useValue: VirtualScroll };
|
|
159
|
+
/**
|
|
160
|
+
* NgModule definition for the DropDownList component with providers.
|
|
161
|
+
*/
|
|
162
|
+
class DropDownListAllModule {
|
|
163
|
+
}
|
|
164
|
+
DropDownListAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
165
|
+
DropDownListAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListAllModule, imports: [CommonModule, DropDownListModule], exports: [DropDownListModule] });
|
|
166
|
+
DropDownListAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListAllModule, providers: [
|
|
167
|
+
VirtualScrollService
|
|
168
|
+
], imports: [[CommonModule, DropDownListModule], DropDownListModule] });
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownListAllModule, decorators: [{
|
|
170
|
+
type: NgModule,
|
|
171
|
+
args: [{
|
|
172
|
+
imports: [CommonModule, DropDownListModule],
|
|
173
|
+
exports: [
|
|
174
|
+
DropDownListModule
|
|
175
|
+
],
|
|
176
|
+
providers: [
|
|
177
|
+
VirtualScrollService
|
|
178
|
+
]
|
|
179
|
+
}]
|
|
180
|
+
}] });
|
|
181
|
+
|
|
182
|
+
var ComboBoxComponent_1;
|
|
183
|
+
const inputs$5 = ['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'];
|
|
184
|
+
const outputs$5 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'customValueSpecifier', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'resizeStart', 'resizeStop', 'resizing', 'select', 'valueChange'];
|
|
185
|
+
const twoWays$5 = ['value'];
|
|
186
|
+
/**
|
|
187
|
+
*The ComboBox component allows the user to type a value or choose an option from the list of predefined options.
|
|
188
|
+
*```html
|
|
189
|
+
*<ejs-combobox></ejs-combobox>
|
|
190
|
+
*```
|
|
191
|
+
*/
|
|
192
|
+
let ComboBoxComponent = ComboBoxComponent_1 = class ComboBoxComponent extends ComboBox {
|
|
193
|
+
constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
194
|
+
super();
|
|
195
|
+
this.ngEle = ngEle;
|
|
196
|
+
this.srenderer = srenderer;
|
|
197
|
+
this.viewContainerRef = viewContainerRef;
|
|
198
|
+
this.injector = injector;
|
|
199
|
+
this.cdr = cdr;
|
|
200
|
+
this.skipFromEvent = true;
|
|
201
|
+
this.element = this.ngEle.nativeElement;
|
|
202
|
+
this.injectedModules = this.injectedModules || [];
|
|
203
|
+
try {
|
|
204
|
+
let mod = this.injector.get('DropDownsVirtualScroll');
|
|
205
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
206
|
+
this.injectedModules.push(mod);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
catch { }
|
|
210
|
+
this.registerEvents(outputs$5);
|
|
211
|
+
this.addTwoWay.call(this, twoWays$5);
|
|
212
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
213
|
+
this.formContext = new FormBase();
|
|
214
|
+
this.formCompContext = new ComponentBase();
|
|
215
|
+
}
|
|
216
|
+
registerOnChange(registerFunction) {
|
|
217
|
+
}
|
|
218
|
+
registerOnTouched(registerFunction) {
|
|
219
|
+
}
|
|
220
|
+
writeValue(value) {
|
|
221
|
+
}
|
|
222
|
+
setDisabledState(disabled) {
|
|
223
|
+
}
|
|
224
|
+
ngOnInit() {
|
|
225
|
+
this.formCompContext.ngOnInit(this);
|
|
226
|
+
}
|
|
227
|
+
ngAfterViewInit() {
|
|
228
|
+
this.formContext.ngAfterViewInit(this);
|
|
229
|
+
}
|
|
230
|
+
ngOnDestroy() {
|
|
231
|
+
this.formCompContext.ngOnDestroy(this);
|
|
232
|
+
}
|
|
233
|
+
ngAfterContentChecked() {
|
|
234
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
238
|
+
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ComboBoxComponent, selector: "ejs-combobox", inputs: { actionFailureTemplate: "actionFailureTemplate", allowCustom: "allowCustom", allowFiltering: "allowFiltering", allowObjectBinding: "allowObjectBinding", allowResize: "allowResize", autofill: "autofill", cssClass: "cssClass", dataSource: "dataSource", debounceDelay: "debounceDelay", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", floatLabelType: "floatLabelType", footerTemplate: "footerTemplate", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", htmlAttributes: "htmlAttributes", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", index: "index", isDeviceFullScreen: "isDeviceFullScreen", itemTemplate: "itemTemplate", locale: "locale", noRecordsTemplate: "noRecordsTemplate", placeholder: "placeholder", popupHeight: "popupHeight", popupWidth: "popupWidth", query: "query", readonly: "readonly", showClearButton: "showClearButton", sortOrder: "sortOrder", text: "text", value: "value", valueTemplate: "valueTemplate", width: "width", zIndex: "zIndex" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeOpen: "beforeOpen", blur: "blur", change: "change", close: "close", created: "created", customValueSpecifier: "customValueSpecifier", dataBound: "dataBound", destroyed: "destroyed", filtering: "filtering", focus: "focus", open: "open", resizeStart: "resizeStart", resizeStop: "resizeStop", resizing: "resizing", select: "select", valueChange: "valueChange" }, providers: [
|
|
239
|
+
{
|
|
240
|
+
provide: NG_VALUE_ACCESSOR,
|
|
241
|
+
useExisting: forwardRef(() => ComboBoxComponent_1),
|
|
242
|
+
multi: true
|
|
243
|
+
}
|
|
244
|
+
], queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }, { propertyName: "actionFailureTemplate", first: true, predicate: ["actionFailureTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
245
|
+
__decorate([
|
|
246
|
+
Template()
|
|
247
|
+
], ComboBoxComponent.prototype, "footerTemplate", void 0);
|
|
248
|
+
__decorate([
|
|
249
|
+
Template()
|
|
250
|
+
], ComboBoxComponent.prototype, "headerTemplate", void 0);
|
|
251
|
+
__decorate([
|
|
252
|
+
Template()
|
|
253
|
+
], ComboBoxComponent.prototype, "groupTemplate", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
Template()
|
|
256
|
+
], ComboBoxComponent.prototype, "itemTemplate", void 0);
|
|
257
|
+
__decorate([
|
|
258
|
+
Template('No records found')
|
|
259
|
+
], ComboBoxComponent.prototype, "noRecordsTemplate", void 0);
|
|
260
|
+
__decorate([
|
|
261
|
+
Template('Request failed')
|
|
262
|
+
], ComboBoxComponent.prototype, "actionFailureTemplate", void 0);
|
|
263
|
+
ComboBoxComponent = ComboBoxComponent_1 = __decorate([
|
|
264
|
+
ComponentMixins([ComponentBase, FormBase])
|
|
265
|
+
], ComboBoxComponent);
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxComponent, decorators: [{
|
|
267
|
+
type: Component,
|
|
268
|
+
args: [{
|
|
269
|
+
selector: 'ejs-combobox',
|
|
270
|
+
inputs: inputs$5,
|
|
271
|
+
outputs: outputs$5,
|
|
272
|
+
template: '',
|
|
273
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
274
|
+
providers: [
|
|
275
|
+
{
|
|
276
|
+
provide: NG_VALUE_ACCESSOR,
|
|
277
|
+
useExisting: forwardRef(() => ComboBoxComponent),
|
|
278
|
+
multi: true
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
queries: {}
|
|
282
|
+
}]
|
|
283
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { footerTemplate: [{
|
|
284
|
+
type: ContentChild,
|
|
285
|
+
args: ['footerTemplate']
|
|
286
|
+
}], headerTemplate: [{
|
|
287
|
+
type: ContentChild,
|
|
288
|
+
args: ['headerTemplate']
|
|
289
|
+
}], groupTemplate: [{
|
|
290
|
+
type: ContentChild,
|
|
291
|
+
args: ['groupTemplate']
|
|
292
|
+
}], itemTemplate: [{
|
|
293
|
+
type: ContentChild,
|
|
294
|
+
args: ['itemTemplate']
|
|
295
|
+
}], noRecordsTemplate: [{
|
|
296
|
+
type: ContentChild,
|
|
297
|
+
args: ['noRecordsTemplate']
|
|
298
|
+
}], actionFailureTemplate: [{
|
|
299
|
+
type: ContentChild,
|
|
300
|
+
args: ['actionFailureTemplate']
|
|
301
|
+
}] } });
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* NgModule definition for the ComboBox component.
|
|
305
|
+
*/
|
|
306
|
+
class ComboBoxModule {
|
|
307
|
+
}
|
|
308
|
+
ComboBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
309
|
+
ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxModule, declarations: [ComboBoxComponent], imports: [CommonModule], exports: [ComboBoxComponent] });
|
|
310
|
+
ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxModule, imports: [[CommonModule]] });
|
|
311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxModule, decorators: [{
|
|
312
|
+
type: NgModule,
|
|
313
|
+
args: [{
|
|
314
|
+
imports: [CommonModule],
|
|
315
|
+
declarations: [
|
|
316
|
+
ComboBoxComponent
|
|
317
|
+
],
|
|
318
|
+
exports: [
|
|
319
|
+
ComboBoxComponent
|
|
320
|
+
]
|
|
321
|
+
}]
|
|
322
|
+
}] });
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* NgModule definition for the ComboBox component with providers.
|
|
326
|
+
*/
|
|
327
|
+
class ComboBoxAllModule {
|
|
328
|
+
}
|
|
329
|
+
ComboBoxAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
330
|
+
ComboBoxAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxAllModule, imports: [CommonModule, ComboBoxModule], exports: [ComboBoxModule] });
|
|
331
|
+
ComboBoxAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxAllModule, providers: [], imports: [[CommonModule, ComboBoxModule], ComboBoxModule] });
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ComboBoxAllModule, decorators: [{
|
|
333
|
+
type: NgModule,
|
|
334
|
+
args: [{
|
|
335
|
+
imports: [CommonModule, ComboBoxModule],
|
|
336
|
+
exports: [
|
|
337
|
+
ComboBoxModule
|
|
338
|
+
],
|
|
339
|
+
providers: []
|
|
340
|
+
}]
|
|
341
|
+
}] });
|
|
342
|
+
|
|
343
|
+
var AutoCompleteComponent_1;
|
|
344
|
+
const inputs$4 = ['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'];
|
|
345
|
+
const outputs$4 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'customValueSpecifier', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'resizeStart', 'resizeStop', 'resizing', 'select', 'valueChange'];
|
|
346
|
+
const twoWays$4 = ['value'];
|
|
347
|
+
/**
|
|
348
|
+
*The AutoComplete component provides the matched suggestion list when type into the input, from which the user can select one.
|
|
349
|
+
*```html
|
|
350
|
+
*<ejs-autocomplete></ejs-autocomplete>
|
|
351
|
+
*```
|
|
352
|
+
*/
|
|
353
|
+
let AutoCompleteComponent = AutoCompleteComponent_1 = class AutoCompleteComponent extends AutoComplete {
|
|
354
|
+
constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
355
|
+
super();
|
|
356
|
+
this.ngEle = ngEle;
|
|
357
|
+
this.srenderer = srenderer;
|
|
358
|
+
this.viewContainerRef = viewContainerRef;
|
|
359
|
+
this.injector = injector;
|
|
360
|
+
this.cdr = cdr;
|
|
361
|
+
this.skipFromEvent = true;
|
|
362
|
+
this.element = this.ngEle.nativeElement;
|
|
363
|
+
this.injectedModules = this.injectedModules || [];
|
|
364
|
+
try {
|
|
365
|
+
let mod = this.injector.get('DropDownsVirtualScroll');
|
|
366
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
367
|
+
this.injectedModules.push(mod);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
catch { }
|
|
371
|
+
this.registerEvents(outputs$4);
|
|
372
|
+
this.addTwoWay.call(this, twoWays$4);
|
|
373
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
374
|
+
this.formContext = new FormBase();
|
|
375
|
+
this.formCompContext = new ComponentBase();
|
|
376
|
+
}
|
|
377
|
+
registerOnChange(registerFunction) {
|
|
378
|
+
}
|
|
379
|
+
registerOnTouched(registerFunction) {
|
|
380
|
+
}
|
|
381
|
+
writeValue(value) {
|
|
382
|
+
}
|
|
383
|
+
setDisabledState(disabled) {
|
|
384
|
+
}
|
|
385
|
+
ngOnInit() {
|
|
386
|
+
this.formCompContext.ngOnInit(this);
|
|
387
|
+
}
|
|
388
|
+
ngAfterViewInit() {
|
|
389
|
+
this.formContext.ngAfterViewInit(this);
|
|
390
|
+
}
|
|
391
|
+
ngOnDestroy() {
|
|
392
|
+
this.formCompContext.ngOnDestroy(this);
|
|
393
|
+
}
|
|
394
|
+
ngAfterContentChecked() {
|
|
395
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
399
|
+
AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: AutoCompleteComponent, selector: "ejs-autocomplete", inputs: { actionFailureTemplate: "actionFailureTemplate", allowCustom: "allowCustom", allowFiltering: "allowFiltering", allowObjectBinding: "allowObjectBinding", allowResize: "allowResize", autofill: "autofill", cssClass: "cssClass", dataSource: "dataSource", debounceDelay: "debounceDelay", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", floatLabelType: "floatLabelType", footerTemplate: "footerTemplate", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", highlight: "highlight", htmlAttributes: "htmlAttributes", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", index: "index", isDeviceFullScreen: "isDeviceFullScreen", itemTemplate: "itemTemplate", locale: "locale", minLength: "minLength", noRecordsTemplate: "noRecordsTemplate", placeholder: "placeholder", popupHeight: "popupHeight", popupWidth: "popupWidth", query: "query", readonly: "readonly", showClearButton: "showClearButton", showPopupButton: "showPopupButton", sortOrder: "sortOrder", suggestionCount: "suggestionCount", text: "text", value: "value", valueTemplate: "valueTemplate", width: "width", zIndex: "zIndex" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeOpen: "beforeOpen", blur: "blur", change: "change", close: "close", created: "created", customValueSpecifier: "customValueSpecifier", dataBound: "dataBound", destroyed: "destroyed", filtering: "filtering", focus: "focus", open: "open", resizeStart: "resizeStart", resizeStop: "resizeStop", resizing: "resizing", select: "select", valueChange: "valueChange" }, providers: [
|
|
400
|
+
{
|
|
401
|
+
provide: NG_VALUE_ACCESSOR,
|
|
402
|
+
useExisting: forwardRef(() => AutoCompleteComponent_1),
|
|
403
|
+
multi: true
|
|
404
|
+
}
|
|
405
|
+
], queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }, { propertyName: "actionFailureTemplate", first: true, predicate: ["actionFailureTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
406
|
+
__decorate([
|
|
407
|
+
Template()
|
|
408
|
+
], AutoCompleteComponent.prototype, "footerTemplate", void 0);
|
|
409
|
+
__decorate([
|
|
410
|
+
Template()
|
|
411
|
+
], AutoCompleteComponent.prototype, "headerTemplate", void 0);
|
|
412
|
+
__decorate([
|
|
413
|
+
Template()
|
|
414
|
+
], AutoCompleteComponent.prototype, "groupTemplate", void 0);
|
|
415
|
+
__decorate([
|
|
416
|
+
Template()
|
|
417
|
+
], AutoCompleteComponent.prototype, "itemTemplate", void 0);
|
|
418
|
+
__decorate([
|
|
419
|
+
Template('No records found')
|
|
420
|
+
], AutoCompleteComponent.prototype, "noRecordsTemplate", void 0);
|
|
421
|
+
__decorate([
|
|
422
|
+
Template('Request failed')
|
|
423
|
+
], AutoCompleteComponent.prototype, "actionFailureTemplate", void 0);
|
|
424
|
+
AutoCompleteComponent = AutoCompleteComponent_1 = __decorate([
|
|
425
|
+
ComponentMixins([ComponentBase, FormBase])
|
|
426
|
+
], AutoCompleteComponent);
|
|
427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteComponent, decorators: [{
|
|
428
|
+
type: Component,
|
|
429
|
+
args: [{
|
|
430
|
+
selector: 'ejs-autocomplete',
|
|
431
|
+
inputs: inputs$4,
|
|
432
|
+
outputs: outputs$4,
|
|
433
|
+
template: '',
|
|
434
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
435
|
+
providers: [
|
|
436
|
+
{
|
|
437
|
+
provide: NG_VALUE_ACCESSOR,
|
|
438
|
+
useExisting: forwardRef(() => AutoCompleteComponent),
|
|
439
|
+
multi: true
|
|
440
|
+
}
|
|
441
|
+
],
|
|
442
|
+
queries: {}
|
|
443
|
+
}]
|
|
444
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { footerTemplate: [{
|
|
445
|
+
type: ContentChild,
|
|
446
|
+
args: ['footerTemplate']
|
|
447
|
+
}], headerTemplate: [{
|
|
448
|
+
type: ContentChild,
|
|
449
|
+
args: ['headerTemplate']
|
|
450
|
+
}], groupTemplate: [{
|
|
451
|
+
type: ContentChild,
|
|
452
|
+
args: ['groupTemplate']
|
|
453
|
+
}], itemTemplate: [{
|
|
454
|
+
type: ContentChild,
|
|
455
|
+
args: ['itemTemplate']
|
|
456
|
+
}], noRecordsTemplate: [{
|
|
457
|
+
type: ContentChild,
|
|
458
|
+
args: ['noRecordsTemplate']
|
|
459
|
+
}], actionFailureTemplate: [{
|
|
460
|
+
type: ContentChild,
|
|
461
|
+
args: ['actionFailureTemplate']
|
|
462
|
+
}] } });
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* NgModule definition for the AutoComplete component.
|
|
466
|
+
*/
|
|
467
|
+
class AutoCompleteModule {
|
|
468
|
+
}
|
|
469
|
+
AutoCompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
470
|
+
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteModule, declarations: [AutoCompleteComponent], imports: [CommonModule], exports: [AutoCompleteComponent] });
|
|
471
|
+
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteModule, imports: [[CommonModule]] });
|
|
472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
473
|
+
type: NgModule,
|
|
474
|
+
args: [{
|
|
475
|
+
imports: [CommonModule],
|
|
476
|
+
declarations: [
|
|
477
|
+
AutoCompleteComponent
|
|
478
|
+
],
|
|
479
|
+
exports: [
|
|
480
|
+
AutoCompleteComponent
|
|
481
|
+
]
|
|
482
|
+
}]
|
|
483
|
+
}] });
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* NgModule definition for the AutoComplete component with providers.
|
|
487
|
+
*/
|
|
488
|
+
class AutoCompleteAllModule {
|
|
489
|
+
}
|
|
490
|
+
AutoCompleteAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
491
|
+
AutoCompleteAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteAllModule, imports: [CommonModule, AutoCompleteModule], exports: [AutoCompleteModule] });
|
|
492
|
+
AutoCompleteAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteAllModule, providers: [], imports: [[CommonModule, AutoCompleteModule], AutoCompleteModule] });
|
|
493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AutoCompleteAllModule, decorators: [{
|
|
494
|
+
type: NgModule,
|
|
495
|
+
args: [{
|
|
496
|
+
imports: [CommonModule, AutoCompleteModule],
|
|
497
|
+
exports: [
|
|
498
|
+
AutoCompleteModule
|
|
499
|
+
],
|
|
500
|
+
providers: []
|
|
501
|
+
}]
|
|
502
|
+
}] });
|
|
503
|
+
|
|
504
|
+
var MultiSelectComponent_1;
|
|
505
|
+
const 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'];
|
|
506
|
+
const 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'];
|
|
507
|
+
const twoWays$3 = ['value'];
|
|
508
|
+
/**
|
|
509
|
+
* The MultiSelect allows the user to pick a values from the predefined list of values.
|
|
510
|
+
*```html
|
|
511
|
+
*<ejs-multiselect></ejs-multiselect>
|
|
512
|
+
*```
|
|
513
|
+
*/
|
|
514
|
+
let MultiSelectComponent = MultiSelectComponent_1 = class MultiSelectComponent extends MultiSelect {
|
|
515
|
+
constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
516
|
+
super();
|
|
517
|
+
this.ngEle = ngEle;
|
|
518
|
+
this.srenderer = srenderer;
|
|
519
|
+
this.viewContainerRef = viewContainerRef;
|
|
520
|
+
this.injector = injector;
|
|
521
|
+
this.cdr = cdr;
|
|
522
|
+
this.skipFromEvent = true;
|
|
523
|
+
this.element = this.ngEle.nativeElement;
|
|
524
|
+
this.injectedModules = this.injectedModules || [];
|
|
525
|
+
try {
|
|
526
|
+
let mod = this.injector.get('DropDownsCheckBoxSelection');
|
|
527
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
528
|
+
this.injectedModules.push(mod);
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
catch { }
|
|
532
|
+
try {
|
|
533
|
+
let mod = this.injector.get('DropDownsVirtualScroll');
|
|
534
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
535
|
+
this.injectedModules.push(mod);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
catch { }
|
|
539
|
+
this.registerEvents(outputs$3);
|
|
540
|
+
this.addTwoWay.call(this, twoWays$3);
|
|
541
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
542
|
+
this.formContext = new FormBase();
|
|
543
|
+
this.formCompContext = new ComponentBase();
|
|
544
|
+
}
|
|
545
|
+
registerOnChange(registerFunction) {
|
|
546
|
+
}
|
|
547
|
+
registerOnTouched(registerFunction) {
|
|
548
|
+
}
|
|
549
|
+
writeValue(value) {
|
|
550
|
+
}
|
|
551
|
+
setDisabledState(disabled) {
|
|
552
|
+
}
|
|
553
|
+
ngOnInit() {
|
|
554
|
+
this.formCompContext.ngOnInit(this);
|
|
555
|
+
}
|
|
556
|
+
ngAfterViewInit() {
|
|
557
|
+
this.formContext.ngAfterViewInit(this);
|
|
558
|
+
}
|
|
559
|
+
ngOnDestroy() {
|
|
560
|
+
this.formCompContext.ngOnDestroy(this);
|
|
561
|
+
}
|
|
562
|
+
ngAfterContentChecked() {
|
|
563
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
564
|
+
}
|
|
565
|
+
};
|
|
566
|
+
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
567
|
+
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: MultiSelectComponent, selector: "ejs-multiselect", inputs: { actionFailureTemplate: "actionFailureTemplate", addTagOnBlur: "addTagOnBlur", allowCustomValue: "allowCustomValue", allowFiltering: "allowFiltering", allowObjectBinding: "allowObjectBinding", allowResize: "allowResize", changeOnBlur: "changeOnBlur", closePopupOnSelect: "closePopupOnSelect", cssClass: "cssClass", dataSource: "dataSource", debounceDelay: "debounceDelay", delimiterChar: "delimiterChar", enableGroupCheckBox: "enableGroupCheckBox", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableSelectionOrder: "enableSelectionOrder", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", floatLabelType: "floatLabelType", footerTemplate: "footerTemplate", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", hideSelectedItem: "hideSelectedItem", htmlAttributes: "htmlAttributes", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", isDeviceFullScreen: "isDeviceFullScreen", itemTemplate: "itemTemplate", locale: "locale", maximumSelectionLength: "maximumSelectionLength", mode: "mode", noRecordsTemplate: "noRecordsTemplate", openOnClick: "openOnClick", placeholder: "placeholder", popupHeight: "popupHeight", popupWidth: "popupWidth", query: "query", readonly: "readonly", selectAllText: "selectAllText", showClearButton: "showClearButton", showDropDownIcon: "showDropDownIcon", showSelectAll: "showSelectAll", sortOrder: "sortOrder", text: "text", unSelectAllText: "unSelectAllText", value: "value", valueTemplate: "valueTemplate", width: "width", zIndex: "zIndex" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeOpen: "beforeOpen", beforeSelectAll: "beforeSelectAll", blur: "blur", change: "change", chipSelection: "chipSelection", close: "close", created: "created", customValueSelection: "customValueSelection", dataBound: "dataBound", destroyed: "destroyed", filtering: "filtering", focus: "focus", open: "open", removed: "removed", removing: "removing", resizeStart: "resizeStart", resizeStop: "resizeStop", resizing: "resizing", select: "select", selectedAll: "selectedAll", tagging: "tagging", valueChange: "valueChange" }, providers: [
|
|
568
|
+
{
|
|
569
|
+
provide: NG_VALUE_ACCESSOR,
|
|
570
|
+
useExisting: forwardRef(() => MultiSelectComponent_1),
|
|
571
|
+
multi: true
|
|
572
|
+
}
|
|
573
|
+
], queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ["valueTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }, { propertyName: "actionFailureTemplate", first: true, predicate: ["actionFailureTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
574
|
+
__decorate([
|
|
575
|
+
Template()
|
|
576
|
+
], MultiSelectComponent.prototype, "footerTemplate", void 0);
|
|
577
|
+
__decorate([
|
|
578
|
+
Template()
|
|
579
|
+
], MultiSelectComponent.prototype, "headerTemplate", void 0);
|
|
580
|
+
__decorate([
|
|
581
|
+
Template()
|
|
582
|
+
], MultiSelectComponent.prototype, "valueTemplate", void 0);
|
|
583
|
+
__decorate([
|
|
584
|
+
Template()
|
|
585
|
+
], MultiSelectComponent.prototype, "itemTemplate", void 0);
|
|
586
|
+
__decorate([
|
|
587
|
+
Template()
|
|
588
|
+
], MultiSelectComponent.prototype, "groupTemplate", void 0);
|
|
589
|
+
__decorate([
|
|
590
|
+
Template('No records found')
|
|
591
|
+
], MultiSelectComponent.prototype, "noRecordsTemplate", void 0);
|
|
592
|
+
__decorate([
|
|
593
|
+
Template('Request failed')
|
|
594
|
+
], MultiSelectComponent.prototype, "actionFailureTemplate", void 0);
|
|
595
|
+
MultiSelectComponent = MultiSelectComponent_1 = __decorate([
|
|
596
|
+
ComponentMixins([ComponentBase, FormBase])
|
|
597
|
+
], MultiSelectComponent);
|
|
598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
599
|
+
type: Component,
|
|
600
|
+
args: [{
|
|
601
|
+
selector: 'ejs-multiselect',
|
|
602
|
+
inputs: inputs$3,
|
|
603
|
+
outputs: outputs$3,
|
|
604
|
+
template: '',
|
|
605
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
606
|
+
providers: [
|
|
607
|
+
{
|
|
608
|
+
provide: NG_VALUE_ACCESSOR,
|
|
609
|
+
useExisting: forwardRef(() => MultiSelectComponent),
|
|
610
|
+
multi: true
|
|
611
|
+
}
|
|
612
|
+
],
|
|
613
|
+
queries: {}
|
|
614
|
+
}]
|
|
615
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { footerTemplate: [{
|
|
616
|
+
type: ContentChild,
|
|
617
|
+
args: ['footerTemplate']
|
|
618
|
+
}], headerTemplate: [{
|
|
619
|
+
type: ContentChild,
|
|
620
|
+
args: ['headerTemplate']
|
|
621
|
+
}], valueTemplate: [{
|
|
622
|
+
type: ContentChild,
|
|
623
|
+
args: ['valueTemplate']
|
|
624
|
+
}], itemTemplate: [{
|
|
625
|
+
type: ContentChild,
|
|
626
|
+
args: ['itemTemplate']
|
|
627
|
+
}], groupTemplate: [{
|
|
628
|
+
type: ContentChild,
|
|
629
|
+
args: ['groupTemplate']
|
|
630
|
+
}], noRecordsTemplate: [{
|
|
631
|
+
type: ContentChild,
|
|
632
|
+
args: ['noRecordsTemplate']
|
|
633
|
+
}], actionFailureTemplate: [{
|
|
634
|
+
type: ContentChild,
|
|
635
|
+
args: ['actionFailureTemplate']
|
|
636
|
+
}] } });
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* NgModule definition for the MultiSelect component.
|
|
640
|
+
*/
|
|
641
|
+
class MultiSelectModule {
|
|
642
|
+
}
|
|
643
|
+
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
644
|
+
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectModule, declarations: [MultiSelectComponent], imports: [CommonModule], exports: [MultiSelectComponent] });
|
|
645
|
+
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectModule, imports: [[CommonModule]] });
|
|
646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
647
|
+
type: NgModule,
|
|
648
|
+
args: [{
|
|
649
|
+
imports: [CommonModule],
|
|
650
|
+
declarations: [
|
|
651
|
+
MultiSelectComponent
|
|
652
|
+
],
|
|
653
|
+
exports: [
|
|
654
|
+
MultiSelectComponent
|
|
655
|
+
]
|
|
656
|
+
}]
|
|
657
|
+
}] });
|
|
658
|
+
|
|
659
|
+
const CheckBoxSelectionService = { provide: 'DropDownsCheckBoxSelection', useValue: CheckBoxSelection };
|
|
660
|
+
/**
|
|
661
|
+
* NgModule definition for the MultiSelect component with providers.
|
|
662
|
+
*/
|
|
663
|
+
class MultiSelectAllModule {
|
|
664
|
+
}
|
|
665
|
+
MultiSelectAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
666
|
+
MultiSelectAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectAllModule, imports: [CommonModule, MultiSelectModule], exports: [MultiSelectModule] });
|
|
667
|
+
MultiSelectAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectAllModule, providers: [
|
|
668
|
+
CheckBoxSelectionService
|
|
669
|
+
], imports: [[CommonModule, MultiSelectModule], MultiSelectModule] });
|
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MultiSelectAllModule, decorators: [{
|
|
671
|
+
type: NgModule,
|
|
672
|
+
args: [{
|
|
673
|
+
imports: [CommonModule, MultiSelectModule],
|
|
674
|
+
exports: [
|
|
675
|
+
MultiSelectModule
|
|
676
|
+
],
|
|
677
|
+
providers: [
|
|
678
|
+
CheckBoxSelectionService
|
|
679
|
+
]
|
|
680
|
+
}]
|
|
681
|
+
}] });
|
|
682
|
+
|
|
683
|
+
var ListBoxComponent_1;
|
|
684
|
+
const inputs$2 = ['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'];
|
|
685
|
+
const outputs$2 = ['focus', 'blur', 'actionBegin', 'actionComplete', 'actionFailure', 'beforeDrop', 'beforeItemRender', 'change', 'created', 'dataBound', 'destroyed', 'drag', 'dragStart', 'drop', 'filtering', 'select', 'valueChange'];
|
|
686
|
+
const twoWays$2 = ['value'];
|
|
687
|
+
/**
|
|
688
|
+
* The ListBox allows the user to select values from the predefined list of values.
|
|
689
|
+
*```html
|
|
690
|
+
*<ejs-listbox [dataSource]='data'></ejs-listbox>
|
|
691
|
+
*```
|
|
692
|
+
*/
|
|
693
|
+
let ListBoxComponent = ListBoxComponent_1 = class ListBoxComponent extends ListBox {
|
|
694
|
+
constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
695
|
+
super();
|
|
696
|
+
this.ngEle = ngEle;
|
|
697
|
+
this.srenderer = srenderer;
|
|
698
|
+
this.viewContainerRef = viewContainerRef;
|
|
699
|
+
this.injector = injector;
|
|
700
|
+
this.cdr = cdr;
|
|
701
|
+
this.element = this.ngEle.nativeElement;
|
|
702
|
+
this.injectedModules = this.injectedModules || [];
|
|
703
|
+
try {
|
|
704
|
+
let mod = this.injector.get('DropDownsCheckBoxSelection');
|
|
705
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
706
|
+
this.injectedModules.push(mod);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
catch { }
|
|
710
|
+
this.registerEvents(outputs$2);
|
|
711
|
+
this.addTwoWay.call(this, twoWays$2);
|
|
712
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
713
|
+
this.formContext = new FormBase();
|
|
714
|
+
this.formCompContext = new ComponentBase();
|
|
715
|
+
}
|
|
716
|
+
registerOnChange(registerFunction) {
|
|
717
|
+
}
|
|
718
|
+
registerOnTouched(registerFunction) {
|
|
719
|
+
}
|
|
720
|
+
writeValue(value) {
|
|
721
|
+
}
|
|
722
|
+
setDisabledState(disabled) {
|
|
723
|
+
}
|
|
724
|
+
ngOnInit() {
|
|
725
|
+
this.formCompContext.ngOnInit(this);
|
|
726
|
+
}
|
|
727
|
+
ngAfterViewInit() {
|
|
728
|
+
this.formContext.ngAfterViewInit(this);
|
|
729
|
+
}
|
|
730
|
+
ngOnDestroy() {
|
|
731
|
+
this.formCompContext.ngOnDestroy(this);
|
|
732
|
+
}
|
|
733
|
+
ngAfterContentChecked() {
|
|
734
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
735
|
+
}
|
|
736
|
+
};
|
|
737
|
+
ListBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
738
|
+
ListBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ListBoxComponent, selector: "ejs-listbox", inputs: { actionFailureTemplate: "actionFailureTemplate", allowDragAndDrop: "allowDragAndDrop", allowFiltering: "allowFiltering", cssClass: "cssClass", dataSource: "dataSource", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", groupTemplate: "groupTemplate", height: "height", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", itemTemplate: "itemTemplate", locale: "locale", maximumSelectionLength: "maximumSelectionLength", noRecordsTemplate: "noRecordsTemplate", query: "query", scope: "scope", selectionSettings: "selectionSettings", sortOrder: "sortOrder", toolbarSettings: "toolbarSettings", value: "value", zIndex: "zIndex" }, outputs: { focus: "focus", blur: "blur", actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeDrop: "beforeDrop", beforeItemRender: "beforeItemRender", change: "change", created: "created", dataBound: "dataBound", destroyed: "destroyed", drag: "drag", dragStart: "dragStart", drop: "drop", filtering: "filtering", select: "select", valueChange: "valueChange" }, providers: [
|
|
739
|
+
{
|
|
740
|
+
provide: NG_VALUE_ACCESSOR,
|
|
741
|
+
useExisting: forwardRef(() => ListBoxComponent_1),
|
|
742
|
+
multi: true
|
|
743
|
+
}
|
|
744
|
+
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
745
|
+
__decorate([
|
|
746
|
+
Template()
|
|
747
|
+
], ListBoxComponent.prototype, "itemTemplate", void 0);
|
|
748
|
+
__decorate([
|
|
749
|
+
Template('No records found')
|
|
750
|
+
], ListBoxComponent.prototype, "noRecordsTemplate", void 0);
|
|
751
|
+
ListBoxComponent = ListBoxComponent_1 = __decorate([
|
|
752
|
+
ComponentMixins([ComponentBase, FormBase])
|
|
753
|
+
], ListBoxComponent);
|
|
754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxComponent, decorators: [{
|
|
755
|
+
type: Component,
|
|
756
|
+
args: [{
|
|
757
|
+
selector: 'ejs-listbox',
|
|
758
|
+
inputs: inputs$2,
|
|
759
|
+
outputs: outputs$2,
|
|
760
|
+
template: '',
|
|
761
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
762
|
+
providers: [
|
|
763
|
+
{
|
|
764
|
+
provide: NG_VALUE_ACCESSOR,
|
|
765
|
+
useExisting: forwardRef(() => ListBoxComponent),
|
|
766
|
+
multi: true
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
queries: {}
|
|
770
|
+
}]
|
|
771
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { itemTemplate: [{
|
|
772
|
+
type: ContentChild,
|
|
773
|
+
args: ['itemTemplate']
|
|
774
|
+
}], noRecordsTemplate: [{
|
|
775
|
+
type: ContentChild,
|
|
776
|
+
args: ['noRecordsTemplate']
|
|
777
|
+
}] } });
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* NgModule definition for the ListBox component.
|
|
781
|
+
*/
|
|
782
|
+
class ListBoxModule {
|
|
783
|
+
}
|
|
784
|
+
ListBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
785
|
+
ListBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxModule, declarations: [ListBoxComponent], imports: [CommonModule], exports: [ListBoxComponent] });
|
|
786
|
+
ListBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxModule, imports: [[CommonModule]] });
|
|
787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxModule, decorators: [{
|
|
788
|
+
type: NgModule,
|
|
789
|
+
args: [{
|
|
790
|
+
imports: [CommonModule],
|
|
791
|
+
declarations: [
|
|
792
|
+
ListBoxComponent
|
|
793
|
+
],
|
|
794
|
+
exports: [
|
|
795
|
+
ListBoxComponent
|
|
796
|
+
]
|
|
797
|
+
}]
|
|
798
|
+
}] });
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* NgModule definition for the ListBox component with providers.
|
|
802
|
+
*/
|
|
803
|
+
class ListBoxAllModule {
|
|
804
|
+
}
|
|
805
|
+
ListBoxAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
806
|
+
ListBoxAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxAllModule, imports: [CommonModule, ListBoxModule], exports: [ListBoxModule] });
|
|
807
|
+
ListBoxAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxAllModule, providers: [], imports: [[CommonModule, ListBoxModule], ListBoxModule] });
|
|
808
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListBoxAllModule, decorators: [{
|
|
809
|
+
type: NgModule,
|
|
810
|
+
args: [{
|
|
811
|
+
imports: [CommonModule, ListBoxModule],
|
|
812
|
+
exports: [
|
|
813
|
+
ListBoxModule
|
|
814
|
+
],
|
|
815
|
+
providers: []
|
|
816
|
+
}]
|
|
817
|
+
}] });
|
|
818
|
+
|
|
819
|
+
var DropDownTreeComponent_1;
|
|
820
|
+
const inputs$1 = ['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'];
|
|
821
|
+
const outputs$1 = ['actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'dataBound', 'destroyed', 'filtering', 'focus', 'keyPress', 'open', 'select', 'valueChange'];
|
|
822
|
+
const twoWays$1 = ['value'];
|
|
823
|
+
/**
|
|
824
|
+
*The DropDownTree component contains a list of predefined values from which you can choose a single or multiple values.
|
|
825
|
+
*```html
|
|
826
|
+
*<ejs-dropdowntree></ejs-dropdowntree>
|
|
827
|
+
*```
|
|
828
|
+
*/
|
|
829
|
+
let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponent extends DropDownTree {
|
|
830
|
+
constructor(ngEle, srenderer, viewContainerRef, injector, cdr) {
|
|
831
|
+
super();
|
|
832
|
+
this.ngEle = ngEle;
|
|
833
|
+
this.srenderer = srenderer;
|
|
834
|
+
this.viewContainerRef = viewContainerRef;
|
|
835
|
+
this.injector = injector;
|
|
836
|
+
this.cdr = cdr;
|
|
837
|
+
this.skipFromEvent = true;
|
|
838
|
+
this.element = this.ngEle.nativeElement;
|
|
839
|
+
this.injectedModules = this.injectedModules || [];
|
|
840
|
+
this.registerEvents(outputs$1);
|
|
841
|
+
this.addTwoWay.call(this, twoWays$1);
|
|
842
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
843
|
+
this.formContext = new FormBase();
|
|
844
|
+
this.formCompContext = new ComponentBase();
|
|
845
|
+
}
|
|
846
|
+
registerOnChange(registerFunction) {
|
|
847
|
+
}
|
|
848
|
+
registerOnTouched(registerFunction) {
|
|
849
|
+
}
|
|
850
|
+
writeValue(value) {
|
|
851
|
+
}
|
|
852
|
+
setDisabledState(disabled) {
|
|
853
|
+
}
|
|
854
|
+
ngOnInit() {
|
|
855
|
+
this.formCompContext.ngOnInit(this);
|
|
856
|
+
}
|
|
857
|
+
ngAfterViewInit() {
|
|
858
|
+
this.formContext.ngAfterViewInit(this);
|
|
859
|
+
}
|
|
860
|
+
ngOnDestroy() {
|
|
861
|
+
this.formCompContext.ngOnDestroy(this);
|
|
862
|
+
}
|
|
863
|
+
ngAfterContentChecked() {
|
|
864
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
865
|
+
}
|
|
866
|
+
};
|
|
867
|
+
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
868
|
+
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: DropDownTreeComponent, selector: "ejs-dropdowntree", inputs: { actionFailureTemplate: "actionFailureTemplate", allowFiltering: "allowFiltering", allowMultiSelection: "allowMultiSelection", changeOnBlur: "changeOnBlur", cssClass: "cssClass", customTemplate: "customTemplate", delimiterChar: "delimiterChar", destroyPopupOnHide: "destroyPopupOnHide", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enabled: "enabled", fields: "fields", filterBarPlaceholder: "filterBarPlaceholder", filterType: "filterType", floatLabelType: "floatLabelType", footerTemplate: "footerTemplate", headerTemplate: "headerTemplate", htmlAttributes: "htmlAttributes", ignoreAccent: "ignoreAccent", ignoreCase: "ignoreCase", itemTemplate: "itemTemplate", locale: "locale", mode: "mode", noRecordsTemplate: "noRecordsTemplate", placeholder: "placeholder", popupHeight: "popupHeight", popupWidth: "popupWidth", readonly: "readonly", selectAllText: "selectAllText", showCheckBox: "showCheckBox", showClearButton: "showClearButton", showDropDownIcon: "showDropDownIcon", showSelectAll: "showSelectAll", sortOrder: "sortOrder", text: "text", treeSettings: "treeSettings", unSelectAllText: "unSelectAllText", value: "value", valueTemplate: "valueTemplate", width: "width", wrapText: "wrapText", zIndex: "zIndex" }, outputs: { actionFailure: "actionFailure", beforeOpen: "beforeOpen", blur: "blur", change: "change", close: "close", created: "created", dataBound: "dataBound", destroyed: "destroyed", filtering: "filtering", focus: "focus", keyPress: "keyPress", open: "open", select: "select", valueChange: "valueChange" }, providers: [
|
|
869
|
+
{
|
|
870
|
+
provide: NG_VALUE_ACCESSOR,
|
|
871
|
+
useExisting: forwardRef(() => DropDownTreeComponent_1),
|
|
872
|
+
multi: true
|
|
873
|
+
}
|
|
874
|
+
], queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ["valueTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }, { propertyName: "actionFailureTemplate", first: true, predicate: ["actionFailureTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
875
|
+
__decorate([
|
|
876
|
+
Template()
|
|
877
|
+
], DropDownTreeComponent.prototype, "footerTemplate", void 0);
|
|
878
|
+
__decorate([
|
|
879
|
+
Template()
|
|
880
|
+
], DropDownTreeComponent.prototype, "headerTemplate", void 0);
|
|
881
|
+
__decorate([
|
|
882
|
+
Template()
|
|
883
|
+
], DropDownTreeComponent.prototype, "valueTemplate", void 0);
|
|
884
|
+
__decorate([
|
|
885
|
+
Template()
|
|
886
|
+
], DropDownTreeComponent.prototype, "itemTemplate", void 0);
|
|
887
|
+
__decorate([
|
|
888
|
+
Template('No Records Found')
|
|
889
|
+
], DropDownTreeComponent.prototype, "noRecordsTemplate", void 0);
|
|
890
|
+
__decorate([
|
|
891
|
+
Template('The Request Failed')
|
|
892
|
+
], DropDownTreeComponent.prototype, "actionFailureTemplate", void 0);
|
|
893
|
+
DropDownTreeComponent = DropDownTreeComponent_1 = __decorate([
|
|
894
|
+
ComponentMixins([ComponentBase, FormBase])
|
|
895
|
+
], DropDownTreeComponent);
|
|
896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeComponent, decorators: [{
|
|
897
|
+
type: Component,
|
|
898
|
+
args: [{
|
|
899
|
+
selector: 'ejs-dropdowntree',
|
|
900
|
+
inputs: inputs$1,
|
|
901
|
+
outputs: outputs$1,
|
|
902
|
+
template: '',
|
|
903
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
904
|
+
providers: [
|
|
905
|
+
{
|
|
906
|
+
provide: NG_VALUE_ACCESSOR,
|
|
907
|
+
useExisting: forwardRef(() => DropDownTreeComponent),
|
|
908
|
+
multi: true
|
|
909
|
+
}
|
|
910
|
+
],
|
|
911
|
+
queries: {}
|
|
912
|
+
}]
|
|
913
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { footerTemplate: [{
|
|
914
|
+
type: ContentChild,
|
|
915
|
+
args: ['footerTemplate']
|
|
916
|
+
}], headerTemplate: [{
|
|
917
|
+
type: ContentChild,
|
|
918
|
+
args: ['headerTemplate']
|
|
919
|
+
}], valueTemplate: [{
|
|
920
|
+
type: ContentChild,
|
|
921
|
+
args: ['valueTemplate']
|
|
922
|
+
}], itemTemplate: [{
|
|
923
|
+
type: ContentChild,
|
|
924
|
+
args: ['itemTemplate']
|
|
925
|
+
}], noRecordsTemplate: [{
|
|
926
|
+
type: ContentChild,
|
|
927
|
+
args: ['noRecordsTemplate']
|
|
928
|
+
}], actionFailureTemplate: [{
|
|
929
|
+
type: ContentChild,
|
|
930
|
+
args: ['actionFailureTemplate']
|
|
931
|
+
}] } });
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* NgModule definition for the DropDownTree component.
|
|
935
|
+
*/
|
|
936
|
+
class DropDownTreeModule {
|
|
937
|
+
}
|
|
938
|
+
DropDownTreeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
939
|
+
DropDownTreeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeModule, declarations: [DropDownTreeComponent], imports: [CommonModule], exports: [DropDownTreeComponent] });
|
|
940
|
+
DropDownTreeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeModule, imports: [[CommonModule]] });
|
|
941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeModule, decorators: [{
|
|
942
|
+
type: NgModule,
|
|
943
|
+
args: [{
|
|
944
|
+
imports: [CommonModule],
|
|
945
|
+
declarations: [
|
|
946
|
+
DropDownTreeComponent
|
|
947
|
+
],
|
|
948
|
+
exports: [
|
|
949
|
+
DropDownTreeComponent
|
|
950
|
+
]
|
|
951
|
+
}]
|
|
952
|
+
}] });
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* NgModule definition for the DropDownTree component with providers.
|
|
956
|
+
*/
|
|
957
|
+
class DropDownTreeAllModule {
|
|
958
|
+
}
|
|
959
|
+
DropDownTreeAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
960
|
+
DropDownTreeAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeAllModule, imports: [CommonModule, DropDownTreeModule], exports: [DropDownTreeModule] });
|
|
961
|
+
DropDownTreeAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeAllModule, providers: [], imports: [[CommonModule, DropDownTreeModule], DropDownTreeModule] });
|
|
962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DropDownTreeAllModule, decorators: [{
|
|
963
|
+
type: NgModule,
|
|
964
|
+
args: [{
|
|
965
|
+
imports: [CommonModule, DropDownTreeModule],
|
|
966
|
+
exports: [
|
|
967
|
+
DropDownTreeModule
|
|
968
|
+
],
|
|
969
|
+
providers: []
|
|
970
|
+
}]
|
|
971
|
+
}] });
|
|
972
|
+
|
|
973
|
+
const inputs = ['allowSpaces', 'cssClass', 'dataSource', 'debounceDelay', 'displayTemplate', 'fields', 'filterType', 'highlight', 'ignoreCase', 'itemTemplate', 'locale', 'mentionChar', 'minLength', 'noRecordsTemplate', 'popupHeight', 'popupWidth', 'query', 'requireLeadingSpace', 'showMentionChar', 'sortOrder', 'spinnerTemplate', 'suffixText', 'suggestionCount', 'target'];
|
|
974
|
+
const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'change', 'closed', 'created', 'destroyed', 'filtering', 'opened', 'select'];
|
|
975
|
+
const twoWays = [''];
|
|
976
|
+
/**
|
|
977
|
+
*The Mention component contains a list of predefined values, from which the user can choose a single value.
|
|
978
|
+
*```html
|
|
979
|
+
*<ejs-mention></ejs-mention>
|
|
980
|
+
*```
|
|
981
|
+
*/
|
|
982
|
+
let MentionComponent = class MentionComponent extends Mention {
|
|
983
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
984
|
+
super();
|
|
985
|
+
this.ngEle = ngEle;
|
|
986
|
+
this.srenderer = srenderer;
|
|
987
|
+
this.viewContainerRef = viewContainerRef;
|
|
988
|
+
this.injector = injector;
|
|
989
|
+
this.element = this.ngEle.nativeElement;
|
|
990
|
+
this.injectedModules = this.injectedModules || [];
|
|
991
|
+
this.registerEvents(outputs);
|
|
992
|
+
this.addTwoWay.call(this, twoWays);
|
|
993
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
994
|
+
this.containerContext = new ComponentBase();
|
|
995
|
+
}
|
|
996
|
+
ngOnInit() {
|
|
997
|
+
this.containerContext.ngOnInit(this);
|
|
998
|
+
}
|
|
999
|
+
ngAfterViewInit() {
|
|
1000
|
+
this.containerContext.ngAfterViewInit(this);
|
|
1001
|
+
}
|
|
1002
|
+
ngOnDestroy() {
|
|
1003
|
+
this.containerContext.ngOnDestroy(this);
|
|
1004
|
+
}
|
|
1005
|
+
ngAfterContentChecked() {
|
|
1006
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
1007
|
+
}
|
|
1008
|
+
};
|
|
1009
|
+
MentionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1010
|
+
MentionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: MentionComponent, selector: "ejs-mention", inputs: { allowSpaces: "allowSpaces", cssClass: "cssClass", dataSource: "dataSource", debounceDelay: "debounceDelay", displayTemplate: "displayTemplate", fields: "fields", filterType: "filterType", highlight: "highlight", ignoreCase: "ignoreCase", itemTemplate: "itemTemplate", locale: "locale", mentionChar: "mentionChar", minLength: "minLength", noRecordsTemplate: "noRecordsTemplate", popupHeight: "popupHeight", popupWidth: "popupWidth", query: "query", requireLeadingSpace: "requireLeadingSpace", showMentionChar: "showMentionChar", sortOrder: "sortOrder", spinnerTemplate: "spinnerTemplate", suffixText: "suffixText", suggestionCount: "suggestionCount", target: "target" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeOpen: "beforeOpen", change: "change", closed: "closed", created: "created", destroyed: "destroyed", filtering: "filtering", opened: "opened", select: "select" }, queries: [{ propertyName: "displayTemplate", first: true, predicate: ["displayTemplate"], descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }, { propertyName: "spinnerTemplate", first: true, predicate: ["spinnerTemplate"], descendants: true }, { propertyName: "noRecordsTemplate", first: true, predicate: ["noRecordsTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `<ng-content ></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1011
|
+
__decorate([
|
|
1012
|
+
Template()
|
|
1013
|
+
], MentionComponent.prototype, "displayTemplate", void 0);
|
|
1014
|
+
__decorate([
|
|
1015
|
+
Template()
|
|
1016
|
+
], MentionComponent.prototype, "itemTemplate", void 0);
|
|
1017
|
+
__decorate([
|
|
1018
|
+
Template()
|
|
1019
|
+
], MentionComponent.prototype, "spinnerTemplate", void 0);
|
|
1020
|
+
__decorate([
|
|
1021
|
+
Template('No records found')
|
|
1022
|
+
], MentionComponent.prototype, "noRecordsTemplate", void 0);
|
|
1023
|
+
MentionComponent = __decorate([
|
|
1024
|
+
ComponentMixins([ComponentBase])
|
|
1025
|
+
], MentionComponent);
|
|
1026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionComponent, decorators: [{
|
|
1027
|
+
type: Component,
|
|
1028
|
+
args: [{
|
|
1029
|
+
selector: 'ejs-mention',
|
|
1030
|
+
inputs: inputs,
|
|
1031
|
+
outputs: outputs,
|
|
1032
|
+
template: `<ng-content ></ng-content>`,
|
|
1033
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1034
|
+
queries: {}
|
|
1035
|
+
}]
|
|
1036
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { displayTemplate: [{
|
|
1037
|
+
type: ContentChild,
|
|
1038
|
+
args: ['displayTemplate']
|
|
1039
|
+
}], itemTemplate: [{
|
|
1040
|
+
type: ContentChild,
|
|
1041
|
+
args: ['itemTemplate']
|
|
1042
|
+
}], spinnerTemplate: [{
|
|
1043
|
+
type: ContentChild,
|
|
1044
|
+
args: ['spinnerTemplate']
|
|
1045
|
+
}], noRecordsTemplate: [{
|
|
1046
|
+
type: ContentChild,
|
|
1047
|
+
args: ['noRecordsTemplate']
|
|
1048
|
+
}] } });
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* NgModule definition for the Mention component.
|
|
1052
|
+
*/
|
|
1053
|
+
class MentionModule {
|
|
1054
|
+
}
|
|
1055
|
+
MentionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1056
|
+
MentionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, declarations: [MentionComponent], imports: [CommonModule], exports: [MentionComponent] });
|
|
1057
|
+
MentionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, imports: [[CommonModule]] });
|
|
1058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, decorators: [{
|
|
1059
|
+
type: NgModule,
|
|
1060
|
+
args: [{
|
|
1061
|
+
imports: [CommonModule],
|
|
1062
|
+
declarations: [
|
|
1063
|
+
MentionComponent
|
|
1064
|
+
],
|
|
1065
|
+
exports: [
|
|
1066
|
+
MentionComponent
|
|
1067
|
+
]
|
|
1068
|
+
}]
|
|
1069
|
+
}] });
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* NgModule definition for the Mention component with providers.
|
|
1073
|
+
*/
|
|
1074
|
+
class MentionAllModule {
|
|
1075
|
+
}
|
|
1076
|
+
MentionAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1077
|
+
MentionAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, imports: [CommonModule, MentionModule], exports: [MentionModule] });
|
|
1078
|
+
MentionAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, providers: [], imports: [[CommonModule, MentionModule], MentionModule] });
|
|
1079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, decorators: [{
|
|
1080
|
+
type: NgModule,
|
|
1081
|
+
args: [{
|
|
1082
|
+
imports: [CommonModule, MentionModule],
|
|
1083
|
+
exports: [
|
|
1084
|
+
MentionModule
|
|
1085
|
+
],
|
|
1086
|
+
providers: []
|
|
1087
|
+
}]
|
|
1088
|
+
}] });
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Generated bundle index. Do not edit.
|
|
1092
|
+
*/
|
|
1093
|
+
|
|
1094
|
+
export { AutoCompleteAllModule, AutoCompleteComponent, AutoCompleteModule, CheckBoxSelectionService, ComboBoxAllModule, ComboBoxComponent, ComboBoxModule, DropDownListAllModule, DropDownListComponent, DropDownListModule, DropDownTreeAllModule, DropDownTreeComponent, DropDownTreeModule, ListBoxAllModule, ListBoxComponent, ListBoxModule, MentionAllModule, MentionComponent, MentionModule, MultiSelectAllModule, MultiSelectComponent, MultiSelectModule, VirtualScrollService };
|
|
1095
|
+
//# sourceMappingURL=syncfusion-ej2-angular-dropdowns.mjs.map
|