@syncfusion/ej2-angular-dropdowns 22.1.34 → 22.1.35
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/README.md +205 -107
- package/esm2020/src/auto-complete/autocomplete.component.mjs +1 -1
- package/esm2020/src/combo-box/combobox.component.mjs +1 -1
- package/esm2020/src/drop-down-list/dropdownlist.component.mjs +1 -1
- package/esm2020/src/drop-down-tree/dropdowntree.component.mjs +3 -3
- package/esm2020/src/index.mjs +4 -1
- package/esm2020/src/list-box/listbox.component.mjs +1 -1
- 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.component.mjs +1 -1
- package/fesm2015/syncfusion-ej2-angular-dropdowns.mjs +162 -45
- package/fesm2015/syncfusion-ej2-angular-dropdowns.mjs.map +1 -1
- package/fesm2020/syncfusion-ej2-angular-dropdowns.mjs +162 -45
- package/fesm2020/syncfusion-ej2-angular-dropdowns.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/utils/lib-details.ts +3 -3
- package/src/auto-complete/autocomplete.component.d.ts +4 -0
- package/src/combo-box/combobox.component.d.ts +4 -0
- package/src/drop-down-list/dropdownlist.component.d.ts +5 -0
- package/src/drop-down-tree/dropdowntree.component.d.ts +13 -1
- package/src/index.d.ts +3 -0
- package/src/list-box/listbox.component.d.ts +1 -0
- package/src/mention/mention-all.module.d.ts +11 -0
- package/src/mention/mention.component.d.ts +59 -0
- package/src/mention/mention.module.d.ts +11 -0
- package/src/multi-select/multiselect.component.d.ts +5 -0
- package/styles/material3-dark.css +0 -6
- package/styles/material3.css +0 -6
- package/styles/multi-select/_layout.scss +4 -2
- package/styles/multi-select/material3-dark.css +0 -6
- package/styles/multi-select/material3.css +0 -6
|
@@ -3,14 +3,14 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
import { forwardRef, Component, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';
|
|
4
4
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
5
|
import { setValue, FormBase, ComponentBase, Template, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
6
|
-
import { DropDownList, ComboBox, AutoComplete, MultiSelect, CheckBoxSelection, ListBox, DropDownTree } from '@syncfusion/ej2-dropdowns';
|
|
6
|
+
import { DropDownList, ComboBox, AutoComplete, MultiSelect, CheckBoxSelection, ListBox, DropDownTree, Mention } from '@syncfusion/ej2-dropdowns';
|
|
7
7
|
export * from '@syncfusion/ej2-dropdowns';
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
|
9
9
|
|
|
10
10
|
var DropDownListComponent_1;
|
|
11
|
-
const inputs$
|
|
12
|
-
const outputs$
|
|
13
|
-
const twoWays$
|
|
11
|
+
const inputs$6 = ['actionFailureTemplate', 'allowFiltering', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', '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', 'select', 'valueChange'];
|
|
13
|
+
const twoWays$6 = ['value'];
|
|
14
14
|
/**
|
|
15
15
|
*The DropDownList component contains a list of predefined values, from which the user can choose a single value.
|
|
16
16
|
*```html
|
|
@@ -27,8 +27,8 @@ let DropDownListComponent = DropDownListComponent_1 = class DropDownListComponen
|
|
|
27
27
|
this.skipFromEvent = true;
|
|
28
28
|
this.element = this.ngEle.nativeElement;
|
|
29
29
|
this.injectedModules = this.injectedModules || [];
|
|
30
|
-
this.registerEvents(outputs$
|
|
31
|
-
this.addTwoWay.call(this, twoWays$
|
|
30
|
+
this.registerEvents(outputs$6);
|
|
31
|
+
this.addTwoWay.call(this, twoWays$6);
|
|
32
32
|
setValue('currentInstance', this, this.viewContainerRef);
|
|
33
33
|
this.formContext = new FormBase();
|
|
34
34
|
this.formCompContext = new ComponentBase();
|
|
@@ -90,8 +90,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
90
90
|
type: Component,
|
|
91
91
|
args: [{
|
|
92
92
|
selector: 'ejs-dropdownlist',
|
|
93
|
-
inputs: inputs$
|
|
94
|
-
outputs: outputs$
|
|
93
|
+
inputs: inputs$6,
|
|
94
|
+
outputs: outputs$6,
|
|
95
95
|
template: '',
|
|
96
96
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
97
97
|
providers: [
|
|
@@ -167,9 +167,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
167
167
|
}] });
|
|
168
168
|
|
|
169
169
|
var ComboBoxComponent_1;
|
|
170
|
-
const inputs$
|
|
171
|
-
const outputs$
|
|
172
|
-
const twoWays$
|
|
170
|
+
const inputs$5 = ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'autofill', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', 'itemTemplate', 'locale', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'sortOrder', 'text', 'value', 'valueTemplate', 'width', 'zIndex'];
|
|
171
|
+
const outputs$5 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'customValueSpecifier', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'select', 'valueChange'];
|
|
172
|
+
const twoWays$5 = ['value'];
|
|
173
173
|
/**
|
|
174
174
|
*The ComboBox component allows the user to type a value or choose an option from the list of predefined options.
|
|
175
175
|
*```html
|
|
@@ -186,8 +186,8 @@ let ComboBoxComponent = ComboBoxComponent_1 = class ComboBoxComponent extends Co
|
|
|
186
186
|
this.skipFromEvent = true;
|
|
187
187
|
this.element = this.ngEle.nativeElement;
|
|
188
188
|
this.injectedModules = this.injectedModules || [];
|
|
189
|
-
this.registerEvents(outputs$
|
|
190
|
-
this.addTwoWay.call(this, twoWays$
|
|
189
|
+
this.registerEvents(outputs$5);
|
|
190
|
+
this.addTwoWay.call(this, twoWays$5);
|
|
191
191
|
setValue('currentInstance', this, this.viewContainerRef);
|
|
192
192
|
this.formContext = new FormBase();
|
|
193
193
|
this.formCompContext = new ComponentBase();
|
|
@@ -246,8 +246,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
246
246
|
type: Component,
|
|
247
247
|
args: [{
|
|
248
248
|
selector: 'ejs-combobox',
|
|
249
|
-
inputs: inputs$
|
|
250
|
-
outputs: outputs$
|
|
249
|
+
inputs: inputs$5,
|
|
250
|
+
outputs: outputs$5,
|
|
251
251
|
template: '',
|
|
252
252
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
253
253
|
providers: [
|
|
@@ -320,9 +320,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
320
320
|
}] });
|
|
321
321
|
|
|
322
322
|
var AutoCompleteComponent_1;
|
|
323
|
-
const inputs$
|
|
324
|
-
const outputs$
|
|
325
|
-
const twoWays$
|
|
323
|
+
const inputs$4 = ['actionFailureTemplate', 'allowCustom', 'allowFiltering', 'autofill', 'cssClass', 'dataSource', 'enablePersistence', 'enableRtl', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'highlight', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'index', 'itemTemplate', 'locale', 'minLength', 'noRecordsTemplate', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'showClearButton', 'showPopupButton', 'sortOrder', 'suggestionCount', 'text', 'value', 'valueTemplate', 'width', 'zIndex'];
|
|
324
|
+
const outputs$4 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'customValueSpecifier', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'select', 'valueChange'];
|
|
325
|
+
const twoWays$4 = ['value'];
|
|
326
326
|
/**
|
|
327
327
|
*The AutoComplete component provides the matched suggestion list when type into the input, from which the user can select one.
|
|
328
328
|
*```html
|
|
@@ -339,8 +339,8 @@ let AutoCompleteComponent = AutoCompleteComponent_1 = class AutoCompleteComponen
|
|
|
339
339
|
this.skipFromEvent = true;
|
|
340
340
|
this.element = this.ngEle.nativeElement;
|
|
341
341
|
this.injectedModules = this.injectedModules || [];
|
|
342
|
-
this.registerEvents(outputs$
|
|
343
|
-
this.addTwoWay.call(this, twoWays$
|
|
342
|
+
this.registerEvents(outputs$4);
|
|
343
|
+
this.addTwoWay.call(this, twoWays$4);
|
|
344
344
|
setValue('currentInstance', this, this.viewContainerRef);
|
|
345
345
|
this.formContext = new FormBase();
|
|
346
346
|
this.formCompContext = new ComponentBase();
|
|
@@ -399,8 +399,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
399
399
|
type: Component,
|
|
400
400
|
args: [{
|
|
401
401
|
selector: 'ejs-autocomplete',
|
|
402
|
-
inputs: inputs$
|
|
403
|
-
outputs: outputs$
|
|
402
|
+
inputs: inputs$4,
|
|
403
|
+
outputs: outputs$4,
|
|
404
404
|
template: '',
|
|
405
405
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
406
406
|
providers: [
|
|
@@ -473,9 +473,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
473
473
|
}] });
|
|
474
474
|
|
|
475
475
|
var MultiSelectComponent_1;
|
|
476
|
-
const inputs$
|
|
477
|
-
const outputs$
|
|
478
|
-
const twoWays$
|
|
476
|
+
const inputs$3 = ['actionFailureTemplate', 'addTagOnBlur', 'allowCustomValue', 'allowFiltering', 'changeOnBlur', 'closePopupOnSelect', 'cssClass', 'dataSource', 'delimiterChar', 'enableGroupCheckBox', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableSelectionOrder', 'enabled', 'fields', 'filterBarPlaceholder', 'filterType', 'floatLabelType', 'footerTemplate', 'groupTemplate', 'headerTemplate', 'hideSelectedItem', 'htmlAttributes', 'ignoreAccent', 'ignoreCase', 'itemTemplate', 'locale', 'maximumSelectionLength', 'mode', 'noRecordsTemplate', 'openOnClick', 'placeholder', 'popupHeight', 'popupWidth', 'query', 'readonly', 'selectAllText', 'showClearButton', 'showDropDownIcon', 'showSelectAll', 'sortOrder', 'text', 'unSelectAllText', 'value', 'valueTemplate', 'width', 'zIndex'];
|
|
477
|
+
const outputs$3 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'beforeSelectAll', 'blur', 'change', 'chipSelection', 'close', 'created', 'customValueSelection', 'dataBound', 'destroyed', 'filtering', 'focus', 'open', 'removed', 'removing', 'select', 'selectedAll', 'tagging', 'valueChange'];
|
|
478
|
+
const twoWays$3 = ['value'];
|
|
479
479
|
/**
|
|
480
480
|
* The MultiSelect allows the user to pick a values from the predefined list of values.
|
|
481
481
|
*```html
|
|
@@ -499,8 +499,8 @@ let MultiSelectComponent = MultiSelectComponent_1 = class MultiSelectComponent e
|
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
501
|
catch { }
|
|
502
|
-
this.registerEvents(outputs$
|
|
503
|
-
this.addTwoWay.call(this, twoWays$
|
|
502
|
+
this.registerEvents(outputs$3);
|
|
503
|
+
this.addTwoWay.call(this, twoWays$3);
|
|
504
504
|
setValue('currentInstance', this, this.viewContainerRef);
|
|
505
505
|
this.formContext = new FormBase();
|
|
506
506
|
this.formCompContext = new ComponentBase();
|
|
@@ -562,8 +562,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
562
562
|
type: Component,
|
|
563
563
|
args: [{
|
|
564
564
|
selector: 'ejs-multiselect',
|
|
565
|
-
inputs: inputs$
|
|
566
|
-
outputs: outputs$
|
|
565
|
+
inputs: inputs$3,
|
|
566
|
+
outputs: outputs$3,
|
|
567
567
|
template: '',
|
|
568
568
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
569
569
|
providers: [
|
|
@@ -644,9 +644,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
644
644
|
}] });
|
|
645
645
|
|
|
646
646
|
var ListBoxComponent_1;
|
|
647
|
-
const inputs$
|
|
648
|
-
const outputs$
|
|
649
|
-
const twoWays$
|
|
647
|
+
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'];
|
|
648
|
+
const outputs$2 = ['focus', 'blur', 'actionBegin', 'actionComplete', 'actionFailure', 'beforeDrop', 'beforeItemRender', 'change', 'created', 'dataBound', 'destroyed', 'drag', 'dragStart', 'drop', 'filtering', 'select', 'valueChange'];
|
|
649
|
+
const twoWays$2 = ['value'];
|
|
650
650
|
/**
|
|
651
651
|
* The ListBox allows the user to select values from the predefined list of values.
|
|
652
652
|
*```html
|
|
@@ -669,8 +669,8 @@ let ListBoxComponent = ListBoxComponent_1 = class ListBoxComponent extends ListB
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
catch { }
|
|
672
|
-
this.registerEvents(outputs$
|
|
673
|
-
this.addTwoWay.call(this, twoWays$
|
|
672
|
+
this.registerEvents(outputs$2);
|
|
673
|
+
this.addTwoWay.call(this, twoWays$2);
|
|
674
674
|
setValue('currentInstance', this, this.viewContainerRef);
|
|
675
675
|
this.formContext = new FormBase();
|
|
676
676
|
this.formCompContext = new ComponentBase();
|
|
@@ -717,8 +717,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
717
717
|
type: Component,
|
|
718
718
|
args: [{
|
|
719
719
|
selector: 'ejs-listbox',
|
|
720
|
-
inputs: inputs$
|
|
721
|
-
outputs: outputs$
|
|
720
|
+
inputs: inputs$2,
|
|
721
|
+
outputs: outputs$2,
|
|
722
722
|
template: '',
|
|
723
723
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
724
724
|
providers: [
|
|
@@ -779,9 +779,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
779
779
|
}] });
|
|
780
780
|
|
|
781
781
|
var DropDownTreeComponent_1;
|
|
782
|
-
const inputs = ['actionFailureTemplate', 'allowFiltering', 'allowMultiSelection', 'changeOnBlur', 'cssClass', 'customTemplate', 'delimiterChar', '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', 'width', 'wrapText', 'zIndex'];
|
|
783
|
-
const outputs = ['actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'dataBound', 'destroyed', 'filtering', 'focus', 'keyPress', 'open', 'select', 'valueChange'];
|
|
784
|
-
const twoWays = ['value'];
|
|
782
|
+
const inputs$1 = ['actionFailureTemplate', 'allowFiltering', 'allowMultiSelection', 'changeOnBlur', 'cssClass', 'customTemplate', 'delimiterChar', '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', 'width', 'wrapText', 'zIndex'];
|
|
783
|
+
const outputs$1 = ['actionFailure', 'beforeOpen', 'blur', 'change', 'close', 'created', 'dataBound', 'destroyed', 'filtering', 'focus', 'keyPress', 'open', 'select', 'valueChange'];
|
|
784
|
+
const twoWays$1 = ['value'];
|
|
785
785
|
/**
|
|
786
786
|
*The DropDownTree component contains a list of predefined values from which you can choose a single or multiple values.
|
|
787
787
|
*```html
|
|
@@ -798,8 +798,8 @@ let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponen
|
|
|
798
798
|
this.skipFromEvent = true;
|
|
799
799
|
this.element = this.ngEle.nativeElement;
|
|
800
800
|
this.injectedModules = this.injectedModules || [];
|
|
801
|
-
this.registerEvents(outputs);
|
|
802
|
-
this.addTwoWay.call(this, twoWays);
|
|
801
|
+
this.registerEvents(outputs$1);
|
|
802
|
+
this.addTwoWay.call(this, twoWays$1);
|
|
803
803
|
setValue('currentInstance', this, this.viewContainerRef);
|
|
804
804
|
this.formContext = new FormBase();
|
|
805
805
|
this.formCompContext = new ComponentBase();
|
|
@@ -826,7 +826,7 @@ let DropDownTreeComponent = DropDownTreeComponent_1 = class DropDownTreeComponen
|
|
|
826
826
|
}
|
|
827
827
|
};
|
|
828
828
|
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 }], target: i0.ɵɵFactoryTarget.Component });
|
|
829
|
-
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", 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", 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: [
|
|
829
|
+
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", 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", 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: [
|
|
830
830
|
{
|
|
831
831
|
provide: NG_VALUE_ACCESSOR,
|
|
832
832
|
useExisting: forwardRef(() => DropDownTreeComponent_1),
|
|
@@ -855,8 +855,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
855
855
|
type: Component,
|
|
856
856
|
args: [{
|
|
857
857
|
selector: 'ejs-dropdowntree',
|
|
858
|
-
inputs: inputs,
|
|
859
|
-
outputs: outputs,
|
|
858
|
+
inputs: inputs$1,
|
|
859
|
+
outputs: outputs$1,
|
|
860
860
|
template: '',
|
|
861
861
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
862
862
|
providers: [
|
|
@@ -925,11 +925,128 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
925
925
|
}]
|
|
926
926
|
}] });
|
|
927
927
|
|
|
928
|
+
const inputs = ['allowSpaces', 'cssClass', 'dataSource', 'displayTemplate', 'fields', 'filterType', 'highlight', 'ignoreCase', 'itemTemplate', 'locale', 'mentionChar', 'minLength', 'noRecordsTemplate', 'popupHeight', 'popupWidth', 'query', 'showMentionChar', 'sortOrder', 'spinnerTemplate', 'suffixText', 'suggestionCount', 'target'];
|
|
929
|
+
const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeOpen', 'change', 'closed', 'created', 'destroyed', 'filtering', 'opened', 'select'];
|
|
930
|
+
const twoWays = [''];
|
|
931
|
+
/**
|
|
932
|
+
*The Mention component contains a list of predefined values, from which the user can choose a single value.
|
|
933
|
+
*```html
|
|
934
|
+
*<ejs-mention></ejs-mention>
|
|
935
|
+
*```
|
|
936
|
+
*/
|
|
937
|
+
let MentionComponent = class MentionComponent extends Mention {
|
|
938
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
939
|
+
super();
|
|
940
|
+
this.ngEle = ngEle;
|
|
941
|
+
this.srenderer = srenderer;
|
|
942
|
+
this.viewContainerRef = viewContainerRef;
|
|
943
|
+
this.injector = injector;
|
|
944
|
+
this.element = this.ngEle.nativeElement;
|
|
945
|
+
this.injectedModules = this.injectedModules || [];
|
|
946
|
+
this.registerEvents(outputs);
|
|
947
|
+
this.addTwoWay.call(this, twoWays);
|
|
948
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
949
|
+
this.containerContext = new ComponentBase();
|
|
950
|
+
}
|
|
951
|
+
ngOnInit() {
|
|
952
|
+
this.containerContext.ngOnInit(this);
|
|
953
|
+
}
|
|
954
|
+
ngAfterViewInit() {
|
|
955
|
+
this.containerContext.ngAfterViewInit(this);
|
|
956
|
+
}
|
|
957
|
+
ngOnDestroy() {
|
|
958
|
+
this.containerContext.ngOnDestroy(this);
|
|
959
|
+
}
|
|
960
|
+
ngAfterContentChecked() {
|
|
961
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
962
|
+
}
|
|
963
|
+
};
|
|
964
|
+
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 });
|
|
965
|
+
MentionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: MentionComponent, selector: "ejs-mention", inputs: { allowSpaces: "allowSpaces", cssClass: "cssClass", dataSource: "dataSource", 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", 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 });
|
|
966
|
+
__decorate([
|
|
967
|
+
Template()
|
|
968
|
+
], MentionComponent.prototype, "displayTemplate", void 0);
|
|
969
|
+
__decorate([
|
|
970
|
+
Template()
|
|
971
|
+
], MentionComponent.prototype, "itemTemplate", void 0);
|
|
972
|
+
__decorate([
|
|
973
|
+
Template()
|
|
974
|
+
], MentionComponent.prototype, "spinnerTemplate", void 0);
|
|
975
|
+
__decorate([
|
|
976
|
+
Template('No records found')
|
|
977
|
+
], MentionComponent.prototype, "noRecordsTemplate", void 0);
|
|
978
|
+
MentionComponent = __decorate([
|
|
979
|
+
ComponentMixins([ComponentBase])
|
|
980
|
+
], MentionComponent);
|
|
981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionComponent, decorators: [{
|
|
982
|
+
type: Component,
|
|
983
|
+
args: [{
|
|
984
|
+
selector: 'ejs-mention',
|
|
985
|
+
inputs: inputs,
|
|
986
|
+
outputs: outputs,
|
|
987
|
+
template: `<ng-content ></ng-content>`,
|
|
988
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
989
|
+
queries: {}
|
|
990
|
+
}]
|
|
991
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { displayTemplate: [{
|
|
992
|
+
type: ContentChild,
|
|
993
|
+
args: ['displayTemplate']
|
|
994
|
+
}], itemTemplate: [{
|
|
995
|
+
type: ContentChild,
|
|
996
|
+
args: ['itemTemplate']
|
|
997
|
+
}], spinnerTemplate: [{
|
|
998
|
+
type: ContentChild,
|
|
999
|
+
args: ['spinnerTemplate']
|
|
1000
|
+
}], noRecordsTemplate: [{
|
|
1001
|
+
type: ContentChild,
|
|
1002
|
+
args: ['noRecordsTemplate']
|
|
1003
|
+
}] } });
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* NgModule definition for the Mention component.
|
|
1007
|
+
*/
|
|
1008
|
+
class MentionModule {
|
|
1009
|
+
}
|
|
1010
|
+
MentionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1011
|
+
MentionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, declarations: [MentionComponent], imports: [CommonModule], exports: [MentionComponent] });
|
|
1012
|
+
MentionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, imports: [[CommonModule]] });
|
|
1013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionModule, decorators: [{
|
|
1014
|
+
type: NgModule,
|
|
1015
|
+
args: [{
|
|
1016
|
+
imports: [CommonModule],
|
|
1017
|
+
declarations: [
|
|
1018
|
+
MentionComponent
|
|
1019
|
+
],
|
|
1020
|
+
exports: [
|
|
1021
|
+
MentionComponent
|
|
1022
|
+
]
|
|
1023
|
+
}]
|
|
1024
|
+
}] });
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* NgModule definition for the Mention component with providers.
|
|
1028
|
+
*/
|
|
1029
|
+
class MentionAllModule {
|
|
1030
|
+
}
|
|
1031
|
+
MentionAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1032
|
+
MentionAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, imports: [CommonModule, MentionModule], exports: [MentionModule] });
|
|
1033
|
+
MentionAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, providers: [], imports: [[CommonModule, MentionModule], MentionModule] });
|
|
1034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: MentionAllModule, decorators: [{
|
|
1035
|
+
type: NgModule,
|
|
1036
|
+
args: [{
|
|
1037
|
+
imports: [CommonModule, MentionModule],
|
|
1038
|
+
exports: [
|
|
1039
|
+
MentionModule
|
|
1040
|
+
],
|
|
1041
|
+
providers: []
|
|
1042
|
+
}]
|
|
1043
|
+
}] });
|
|
1044
|
+
|
|
928
1045
|
// Mapping root file for package generation
|
|
929
1046
|
|
|
930
1047
|
/**
|
|
931
1048
|
* Generated bundle index. Do not edit.
|
|
932
1049
|
*/
|
|
933
1050
|
|
|
934
|
-
export { AutoCompleteAllModule, AutoCompleteComponent, AutoCompleteModule, CheckBoxSelectionService, ComboBoxAllModule, ComboBoxComponent, ComboBoxModule, DropDownListAllModule, DropDownListComponent, DropDownListModule, DropDownTreeAllModule, DropDownTreeComponent, DropDownTreeModule, ListBoxAllModule, ListBoxComponent, ListBoxModule, MultiSelectAllModule, MultiSelectComponent, MultiSelectModule };
|
|
1051
|
+
export { AutoCompleteAllModule, AutoCompleteComponent, AutoCompleteModule, CheckBoxSelectionService, ComboBoxAllModule, ComboBoxComponent, ComboBoxModule, DropDownListAllModule, DropDownListComponent, DropDownListModule, DropDownTreeAllModule, DropDownTreeComponent, DropDownTreeModule, ListBoxAllModule, ListBoxComponent, ListBoxModule, MentionAllModule, MentionComponent, MentionModule, MultiSelectAllModule, MultiSelectComponent, MultiSelectModule };
|
|
935
1052
|
//# sourceMappingURL=syncfusion-ej2-angular-dropdowns.mjs.map
|