@syncfusion/ej2-dropdowns 29.2.11-81740 → 29.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +261 -0
- package/{ReadMe.md → README.md} +217 -217
- package/dist/ej2-dropdowns.min.js +10 -0
- package/dist/ej2-dropdowns.umd.min.js +10 -1
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +69 -80
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +226 -237
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +11 -0
- package/dist/global/ej2-dropdowns.min.js.map +1 -0
- package/dist/global/index.d.ts +14 -0
- package/helpers/e2e/autocomplete.d.ts +16 -0
- package/helpers/e2e/autocomplete.js +60 -0
- package/helpers/e2e/combobox.d.ts +17 -0
- package/helpers/e2e/combobox.js +63 -0
- package/helpers/e2e/dropdownlist.d.ts +20 -0
- package/helpers/e2e/dropdownlist.js +72 -0
- package/helpers/e2e/index.d.ts +4 -0
- package/helpers/e2e/index.js +11 -0
- package/helpers/e2e/listboxHelper.d.ts +22 -0
- package/helpers/e2e/listboxHelper.js +56 -0
- package/helpers/e2e/multiselect.d.ts +31 -0
- package/helpers/e2e/multiselect.js +105 -0
- package/license +2 -2
- package/package.json +36 -36
- package/src/auto-complete/auto-complete-model.d.ts +190 -190
- package/src/auto-complete/auto-complete.d.ts +12 -12
- package/src/auto-complete/auto-complete.js +21 -21
- package/src/combo-box/combo-box-model.d.ts +232 -232
- package/src/combo-box/combo-box.d.ts +26 -26
- package/src/combo-box/combo-box.js +29 -29
- package/src/common/incremental-search.js +1 -1
- package/src/common/virtual-scroll.js +46 -46
- package/src/drop-down-base/drop-down-base-model.d.ts +205 -205
- package/src/drop-down-base/drop-down-base.d.ts +15 -15
- package/src/drop-down-base/drop-down-base.js +20 -20
- package/src/drop-down-list/drop-down-list-model.d.ts +310 -310
- package/src/drop-down-list/drop-down-list.d.ts +5 -5
- package/src/drop-down-list/drop-down-list.js +21 -21
- package/src/drop-down-tree/drop-down-tree-model.d.ts +493 -493
- package/src/drop-down-tree/drop-down-tree.d.ts +1 -1
- package/src/drop-down-tree/drop-down-tree.js +19 -19
- package/src/list-box/list-box-model.d.ts +237 -237
- package/src/list-box/list-box.d.ts +2 -2
- package/src/list-box/list-box.js +19 -19
- package/src/mention/mention-model.d.ts +272 -272
- package/src/mention/mention.d.ts +1 -1
- package/src/mention/mention.js +27 -29
- package/src/multi-select/multi-select-model.d.ts +564 -564
- package/src/multi-select/multi-select.d.ts +1 -1
- package/src/multi-select/multi-select.js +25 -34
- package/styles/auto-complete/_all.scss +1 -1
- package/styles/auto-complete/_bds-definition.scss +2 -2
- package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
- package/styles/auto-complete/_bootstrap-definition.scss +2 -2
- package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
- package/styles/auto-complete/_bootstrap5-definition.scss +2 -2
- package/styles/auto-complete/_bootstrap5.3-definition.scss +2 -2
- package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
- package/styles/auto-complete/_fabric-definition.scss +2 -2
- package/styles/auto-complete/_fluent-definition.scss +2 -2
- package/styles/auto-complete/_fluent2-definition.scss +2 -2
- package/styles/auto-complete/_fusionnew-definition.scss +2 -2
- package/styles/auto-complete/_highcontrast-definition.scss +2 -2
- package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
- package/styles/auto-complete/_material-dark-definition.scss +2 -2
- package/styles/auto-complete/_material-definition.scss +2 -2
- package/styles/auto-complete/_material3-definition.scss +2 -2
- package/styles/auto-complete/_tailwind-definition.scss +2 -2
- package/styles/auto-complete/_tailwind3-definition.scss +2 -2
- package/styles/auto-complete/material3-dark.scss +1 -1
- package/styles/auto-complete/material3.scss +1 -1
- package/styles/combo-box/_all.scss +1 -1
- package/styles/combo-box/_bds-definition.scss +2 -2
- package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
- package/styles/combo-box/_bootstrap-definition.scss +2 -2
- package/styles/combo-box/_bootstrap4-definition.scss +11 -11
- package/styles/combo-box/_bootstrap5-definition.scss +2 -2
- package/styles/combo-box/_bootstrap5.3-definition.scss +2 -2
- package/styles/combo-box/_fabric-dark-definition.scss +2 -2
- package/styles/combo-box/_fabric-definition.scss +2 -2
- package/styles/combo-box/_fluent-definition.scss +2 -2
- package/styles/combo-box/_fluent2-definition.scss +2 -2
- package/styles/combo-box/_fusionnew-definition.scss +2 -2
- package/styles/combo-box/_highcontrast-definition.scss +2 -2
- package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
- package/styles/combo-box/_material-dark-definition.scss +2 -2
- package/styles/combo-box/_material-definition.scss +2 -2
- package/styles/combo-box/_material3-definition.scss +2 -2
- package/styles/combo-box/_tailwind-definition.scss +2 -2
- package/styles/combo-box/_tailwind3-definition.scss +2 -2
- package/styles/combo-box/material3-dark.scss +1 -1
- package/styles/combo-box/material3.scss +1 -1
- package/styles/drop-down-base/_all.scss +2 -2
- package/styles/drop-down-base/_bds-definition.scss +112 -112
- package/styles/drop-down-base/_bigger.scss +198 -198
- package/styles/drop-down-base/_bootstrap-dark-definition.scss +80 -80
- package/styles/drop-down-base/_bootstrap-definition.scss +78 -78
- package/styles/drop-down-base/_bootstrap4-definition.scss +83 -83
- package/styles/drop-down-base/_bootstrap5-definition.scss +98 -98
- package/styles/drop-down-base/_bootstrap5.3-definition.scss +98 -98
- package/styles/drop-down-base/_definition.scss +23 -23
- package/styles/drop-down-base/_fabric-dark-definition.scss +81 -81
- package/styles/drop-down-base/_fabric-definition.scss +79 -79
- package/styles/drop-down-base/_fluent-definition.scss +102 -102
- package/styles/drop-down-base/_fluent2-definition.scss +113 -113
- package/styles/drop-down-base/_fusionnew-definition.scss +98 -98
- package/styles/drop-down-base/_highcontrast-definition.scss +96 -96
- package/styles/drop-down-base/_highcontrast-light-definition.scss +96 -96
- package/styles/drop-down-base/_layout.scss +148 -148
- package/styles/drop-down-base/_material-dark-definition.scss +82 -82
- package/styles/drop-down-base/_material-definition.scss +81 -81
- package/styles/drop-down-base/_material3-definition.scss +73 -73
- package/styles/drop-down-base/_tailwind-definition.scss +107 -107
- package/styles/drop-down-base/_tailwind3-definition.scss +98 -98
- package/styles/drop-down-base/_theme.scss +303 -303
- package/styles/drop-down-base/material3-dark.scss +1 -1
- package/styles/drop-down-base/material3.scss +1 -1
- package/styles/drop-down-list/_all.scss +3 -3
- package/styles/drop-down-list/_bds-definition.scss +100 -100
- package/styles/drop-down-list/_bigger.scss +713 -713
- package/styles/drop-down-list/_bootstrap-dark-definition.scss +94 -94
- package/styles/drop-down-list/_bootstrap-definition.scss +93 -93
- package/styles/drop-down-list/_bootstrap4-definition.scss +122 -122
- package/styles/drop-down-list/_bootstrap5-definition.scss +135 -135
- package/styles/drop-down-list/_bootstrap5.3-definition.scss +136 -136
- package/styles/drop-down-list/_fabric-dark-definition.scss +72 -72
- package/styles/drop-down-list/_fabric-definition.scss +69 -69
- package/styles/drop-down-list/_fluent-definition.scss +128 -128
- package/styles/drop-down-list/_fluent2-definition.scss +101 -101
- package/styles/drop-down-list/_fusionnew-definition.scss +134 -134
- package/styles/drop-down-list/_highcontrast-definition.scss +83 -83
- package/styles/drop-down-list/_highcontrast-light-definition.scss +85 -85
- package/styles/drop-down-list/_layout.scss +284 -284
- package/styles/drop-down-list/_material-dark-definition.scss +110 -110
- package/styles/drop-down-list/_material-definition.scss +112 -112
- package/styles/drop-down-list/_material3-definition.scss +114 -114
- package/styles/drop-down-list/_tailwind-definition.scss +100 -100
- package/styles/drop-down-list/_tailwind3-definition.scss +135 -135
- package/styles/drop-down-list/_theme.scss +17 -17
- package/styles/drop-down-list/icons/_bds.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap-dark.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap4.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap5.3.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap5.scss +18 -18
- package/styles/drop-down-list/icons/_fabric-dark.scss +18 -18
- package/styles/drop-down-list/icons/_fabric.scss +18 -18
- package/styles/drop-down-list/icons/_fluent.scss +18 -18
- package/styles/drop-down-list/icons/_fluent2.scss +18 -18
- package/styles/drop-down-list/icons/_fusionnew.scss +14 -14
- package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
- package/styles/drop-down-list/icons/_highcontrast.scss +18 -18
- package/styles/drop-down-list/icons/_material-dark.scss +18 -18
- package/styles/drop-down-list/icons/_material.scss +18 -18
- package/styles/drop-down-list/icons/_material3.scss +18 -18
- package/styles/drop-down-list/icons/_tailwind.scss +18 -18
- package/styles/drop-down-list/icons/_tailwind3.scss +14 -14
- package/styles/drop-down-list/material3-dark.scss +1 -1
- package/styles/drop-down-list/material3.scss +1 -1
- package/styles/drop-down-tree/_all.scss +2 -2
- package/styles/drop-down-tree/_bds-definition.scss +74 -74
- package/styles/drop-down-tree/_bigger.scss +561 -561
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +81 -81
- package/styles/drop-down-tree/_bootstrap-definition.scss +81 -81
- package/styles/drop-down-tree/_bootstrap4-definition.scss +85 -85
- package/styles/drop-down-tree/_bootstrap5-definition.scss +73 -73
- package/styles/drop-down-tree/_bootstrap5.3-definition.scss +74 -74
- package/styles/drop-down-tree/_fabric-dark-definition.scss +81 -81
- package/styles/drop-down-tree/_fabric-definition.scss +81 -81
- package/styles/drop-down-tree/_fluent-definition.scss +78 -78
- package/styles/drop-down-tree/_fluent2-definition.scss +85 -85
- package/styles/drop-down-tree/_fusionnew-definition.scss +69 -69
- package/styles/drop-down-tree/_highcontrast-definition.scss +81 -81
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +81 -81
- package/styles/drop-down-tree/_layout.scss +942 -942
- package/styles/drop-down-tree/_material-dark-definition.scss +82 -82
- package/styles/drop-down-tree/_material-definition.scss +84 -84
- package/styles/drop-down-tree/_material3-definition.scss +84 -84
- package/styles/drop-down-tree/_tailwind-definition.scss +74 -74
- package/styles/drop-down-tree/_tailwind3-definition.scss +75 -75
- package/styles/drop-down-tree/_theme.scss +135 -135
- package/styles/drop-down-tree/icons/_bds.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap5.3.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
- package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_fabric.scss +11 -11
- package/styles/drop-down-tree/icons/_fluent.scss +11 -11
- package/styles/drop-down-tree/icons/_fluent2.scss +14 -14
- package/styles/drop-down-tree/icons/_fusionnew.scss +11 -11
- package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
- package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
- package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_material.scss +11 -11
- package/styles/drop-down-tree/icons/_material3.scss +11 -11
- package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_tailwind.scss +11 -11
- package/styles/drop-down-tree/icons/_tailwind3.scss +11 -11
- package/styles/drop-down-tree/material3-dark.scss +1 -1
- package/styles/drop-down-tree/material3.scss +1 -1
- package/styles/list-box/_all.scss +2 -2
- package/styles/list-box/_bds-definition.scss +136 -136
- package/styles/list-box/_bigger.scss +190 -190
- package/styles/list-box/_bootstrap-dark-definition.scss +126 -126
- package/styles/list-box/_bootstrap-definition.scss +119 -119
- package/styles/list-box/_bootstrap4-definition.scss +126 -126
- package/styles/list-box/_bootstrap5-definition.scss +121 -121
- package/styles/list-box/_bootstrap5.3-definition.scss +123 -123
- package/styles/list-box/_fabric-dark-definition.scss +124 -124
- package/styles/list-box/_fabric-definition.scss +119 -119
- package/styles/list-box/_fluent-definition.scss +120 -120
- package/styles/list-box/_fluent2-definition.scss +121 -121
- package/styles/list-box/_fusionnew-definition.scss +111 -111
- package/styles/list-box/_highcontrast-definition.scss +119 -119
- package/styles/list-box/_highcontrast-light-definition.scss +124 -124
- package/styles/list-box/_layout.scss +496 -496
- package/styles/list-box/_material-dark-definition.scss +124 -124
- package/styles/list-box/_material-definition.scss +119 -119
- package/styles/list-box/_material3-definition.scss +119 -119
- package/styles/list-box/_tailwind-definition.scss +119 -119
- package/styles/list-box/_tailwind3-definition.scss +123 -123
- package/styles/list-box/_theme.scss +327 -327
- package/styles/list-box/icons/_bds.scss +25 -25
- package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
- package/styles/list-box/icons/_bootstrap.scss +25 -25
- package/styles/list-box/icons/_bootstrap4.scss +25 -25
- package/styles/list-box/icons/_bootstrap5.3.scss +25 -25
- package/styles/list-box/icons/_bootstrap5.scss +25 -25
- package/styles/list-box/icons/_fabric-dark.scss +25 -25
- package/styles/list-box/icons/_fabric.scss +25 -25
- package/styles/list-box/icons/_fluent.scss +25 -25
- package/styles/list-box/icons/_fluent2.scss +25 -25
- package/styles/list-box/icons/_fusionnew.scss +25 -25
- package/styles/list-box/icons/_highcontrast-light.scss +25 -25
- package/styles/list-box/icons/_highcontrast.scss +25 -25
- package/styles/list-box/icons/_material-dark.scss +25 -25
- package/styles/list-box/icons/_material.scss +25 -25
- package/styles/list-box/icons/_material3.scss +25 -25
- package/styles/list-box/icons/_tailwind-dark.scss +25 -25
- package/styles/list-box/icons/_tailwind.scss +25 -25
- package/styles/list-box/icons/_tailwind3.scss +25 -25
- package/styles/list-box/material3-dark.scss +1 -1
- package/styles/list-box/material3.scss +1 -1
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.scss +1 -1
- package/styles/mention/_all.scss +1 -1
- package/styles/mention/_bds-definition.scss +1 -1
- package/styles/mention/_bootstrap-dark-definition.scss +3 -3
- package/styles/mention/_bootstrap-definition.scss +3 -3
- package/styles/mention/_bootstrap4-definition.scss +3 -3
- package/styles/mention/_bootstrap5-definition.scss +1 -1
- package/styles/mention/_bootstrap5.3-definition.scss +1 -1
- package/styles/mention/_fabric-dark-definition.scss +2 -2
- package/styles/mention/_fabric-definition.scss +3 -3
- package/styles/mention/_fluent-definition.scss +1 -1
- package/styles/mention/_fluent2-definition.scss +1 -1
- package/styles/mention/_fusionnew-definition.scss +1 -1
- package/styles/mention/_highcontrast-definition.scss +3 -3
- package/styles/mention/_highcontrast-light-definition.scss +3 -3
- package/styles/mention/_layout.scss +6 -6
- package/styles/mention/_material-dark-definition.scss +3 -3
- package/styles/mention/_material-definition.scss +3 -3
- package/styles/mention/_material3-definition.scss +1 -1
- package/styles/mention/_tailwind-definition.scss +1 -1
- package/styles/mention/_tailwind3-definition.scss +1 -1
- package/styles/mention/material3-dark.scss +1 -1
- package/styles/mention/material3.scss +1 -1
- package/styles/multi-select/_all.scss +2 -2
- package/styles/multi-select/_bds-definition.scss +231 -231
- package/styles/multi-select/_bigger.scss +2002 -2002
- package/styles/multi-select/_bootstrap-dark-definition.scss +198 -198
- package/styles/multi-select/_bootstrap-definition.scss +187 -187
- package/styles/multi-select/_bootstrap4-definition.scss +236 -236
- package/styles/multi-select/_bootstrap5-definition.scss +229 -229
- package/styles/multi-select/_bootstrap5.3-definition.scss +229 -229
- package/styles/multi-select/_fabric-dark-definition.scss +190 -190
- package/styles/multi-select/_fabric-definition.scss +181 -181
- package/styles/multi-select/_fluent-definition.scss +236 -236
- package/styles/multi-select/_fluent2-definition.scss +234 -234
- package/styles/multi-select/_fusionnew-definition.scss +222 -222
- package/styles/multi-select/_highcontrast-definition.scss +302 -302
- package/styles/multi-select/_highcontrast-light-definition.scss +296 -296
- package/styles/multi-select/_layout.scss +1335 -1335
- package/styles/multi-select/_material-dark-definition.scss +248 -248
- package/styles/multi-select/_material-definition.scss +250 -250
- package/styles/multi-select/_material3-definition.scss +233 -233
- package/styles/multi-select/_tailwind-definition.scss +231 -231
- package/styles/multi-select/_tailwind3-definition.scss +227 -227
- package/styles/multi-select/_theme.scss +564 -564
- package/styles/multi-select/icons/_bds.scss +26 -26
- package/styles/multi-select/icons/_bootstrap-dark.scss +30 -30
- package/styles/multi-select/icons/_bootstrap.scss +30 -30
- package/styles/multi-select/icons/_bootstrap4.scss +32 -32
- package/styles/multi-select/icons/_bootstrap5.3.scss +30 -30
- package/styles/multi-select/icons/_bootstrap5.scss +30 -30
- package/styles/multi-select/icons/_fabric-dark.scss +30 -30
- package/styles/multi-select/icons/_fabric.scss +30 -30
- package/styles/multi-select/icons/_fluent.scss +38 -38
- package/styles/multi-select/icons/_fluent2.scss +347 -347
- package/styles/multi-select/icons/_fusionnew.scss +26 -26
- package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
- package/styles/multi-select/icons/_highcontrast.scss +30 -30
- package/styles/multi-select/icons/_material-dark.scss +348 -348
- package/styles/multi-select/icons/_material.scss +348 -348
- package/styles/multi-select/icons/_material3.scss +350 -350
- package/styles/multi-select/icons/_tailwind.scss +30 -30
- package/styles/multi-select/icons/_tailwind3.scss +26 -26
- package/styles/multi-select/material3-dark.scss +1 -1
- package/styles/multi-select/material3.scss +1 -1
- package/tslint.json +111 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, EventHandler, KeyboardEventArgs, isNullOrUndefined, detach, getValue } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, EventHandler, KeyboardEventArgs, isNullOrUndefined, detach, getValue } from '@syncfusion/ej2-base';import { Event, EmitType, Complex } from '@syncfusion/ej2-base';import { removeClass, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { dropDownListClasses } from '../drop-down-list/drop-down-list';import { ComboBox } from '../combo-box/combo-box';import { highlightSearch, revertHighlightSearch } from '../common/highlight-search';import { Search } from '../common/incremental-search';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { FieldSettings, FilteringEventArgs, FilterType, ResultData } from '../drop-down-base/drop-down-base';import { FloatLabelType, Input } from '@syncfusion/ej2-inputs';import { DataManager, Predicate, Query } from '@syncfusion/ej2-data';
|
|
2
2
|
import {ComboBoxModel} from "../combo-box/combo-box-model";
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -7,194 +7,194 @@ import {ComboBoxModel} from "../combo-box/combo-box-model";
|
|
|
7
7
|
export interface AutoCompleteModel extends ComboBoxModel{
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* The `fields` property maps the columns of the data table and binds the data to the component.
|
|
11
|
-
* * text - Maps the text column from data table for each list item
|
|
12
|
-
* * value - Maps the value column from data table for each list item
|
|
13
|
-
* * iconCss - Maps the icon class column from data table for each list item
|
|
14
|
-
* * groupBy - Group the list items with it's related items by mapping groupBy field
|
|
15
|
-
*
|
|
16
|
-
* {% codeBlock src='autocomplete/fields/index.md' %}{% endcodeBlock %}
|
|
17
|
-
*
|
|
18
|
-
* > For more details about the field mapping refer to [`Data binding`](../../auto-complete/data-binding) documentation.
|
|
19
|
-
*
|
|
20
|
-
* @default { value: null, iconCss: null, groupBy: null}
|
|
21
|
-
|
|
22
|
-
*/
|
|
23
|
-
fields?: FieldSettingsModel;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* When set to ‘false’, consider the [`case-sensitive`](../../auto-complete/filtering/#case-sensitive-filtering)
|
|
27
|
-
* on performing the search to find suggestions.
|
|
28
|
-
* By default consider the casing.
|
|
29
|
-
*
|
|
30
|
-
* @default true
|
|
31
|
-
|
|
32
|
-
*/
|
|
33
|
-
ignoreCase?: boolean;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Allows you to either show or hide the popup button on the component.
|
|
37
|
-
*
|
|
38
|
-
* @default false
|
|
39
|
-
*/
|
|
40
|
-
showPopupButton?: boolean;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* When set to ‘true’, highlight the searched characters on suggested list items.
|
|
44
|
-
* > For more details about the highlight refer to [`Custom highlight search`](../../auto-complete/how-to/custom-search) documentation.
|
|
45
|
-
*
|
|
46
|
-
* @default false
|
|
47
|
-
*/
|
|
48
|
-
highlight?: boolean;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Supports the [`specified number`](../../auto-complete/filtering#filter-item-count)
|
|
52
|
-
* of list items on the suggestion popup.
|
|
53
|
-
*
|
|
54
|
-
* @default 20
|
|
55
|
-
*/
|
|
56
|
-
suggestionCount?: number;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Allows additional HTML attributes such as title, name, etc., and
|
|
60
|
-
* accepts n number of attributes in a key-value pair format.
|
|
61
|
-
*
|
|
62
|
-
* {% codeBlock src='autocomplete/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
63
|
-
*
|
|
64
|
-
* @default {}
|
|
65
|
-
|
|
66
|
-
*/
|
|
67
|
-
htmlAttributes?: { [key: string]: string };
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Accepts the external `query`
|
|
71
|
-
* that execute along with data processing.
|
|
72
|
-
*
|
|
73
|
-
* {% codeBlock src='autocomplete/query/index.md' %}{% endcodeBlock %}
|
|
74
|
-
*
|
|
75
|
-
* @default null
|
|
76
|
-
|
|
77
|
-
*/
|
|
78
|
-
query?: Query;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Allows you to set [`the minimum search character length']
|
|
82
|
-
* (../../auto-complete/filtering#limit-the-minimum-filter-character),
|
|
83
|
-
* the search action will perform after typed minimum characters.
|
|
84
|
-
*
|
|
85
|
-
* @default 1
|
|
86
|
-
*/
|
|
87
|
-
minLength?: number;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Determines on which filter type, the component needs to be considered on search action.
|
|
91
|
-
* The available [`FilterType`](../../auto-complete/filtering/#change-the-filter-type)
|
|
92
|
-
* and its supported data types are
|
|
93
|
-
*
|
|
94
|
-
* <table>
|
|
95
|
-
* <tr>
|
|
96
|
-
* <td colSpan=1 rowSpan=1>
|
|
97
|
-
* FilterType<br/></td><td colSpan=1 rowSpan=1>
|
|
98
|
-
* Description<br/></td><td colSpan=1 rowSpan=1>
|
|
99
|
-
* Supported Types<br/></td></tr>
|
|
100
|
-
* <tr>
|
|
101
|
-
* <td colSpan=1 rowSpan=1>
|
|
102
|
-
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
103
|
-
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
104
|
-
* String<br/></td></tr>
|
|
105
|
-
* <tr>
|
|
106
|
-
* <td colSpan=1 rowSpan=1>
|
|
107
|
-
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
108
|
-
* Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
109
|
-
* <br/>String<br/></td></tr>
|
|
110
|
-
* <tr>
|
|
111
|
-
* <td colSpan=1 rowSpan=1>
|
|
112
|
-
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
113
|
-
* Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
114
|
-
* <br/>String<br/></td></tr>
|
|
115
|
-
* </table>
|
|
116
|
-
*
|
|
117
|
-
* {% codeBlock src="autocomplete/filter-type-api/index.ts" %}{% endcodeBlock %}
|
|
118
|
-
*
|
|
119
|
-
* {% codeBlock src="autocomplete/filter-type-api/index.html" %}{% endcodeBlock %}
|
|
120
|
-
*
|
|
121
|
-
* The default value set to `Contains`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
122
|
-
*
|
|
123
|
-
* @default 'Contains'
|
|
124
|
-
*/
|
|
125
|
-
filterType?: FilterType;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Triggers on typing a character in the component.
|
|
129
|
-
*
|
|
130
|
-
* @event filtering
|
|
131
|
-
*/
|
|
132
|
-
filtering?: EmitType<FilteringEventArgs>;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Not applicable to this component.
|
|
136
|
-
*
|
|
137
|
-
* @default null
|
|
138
|
-
* @aspType double
|
|
139
|
-
* @private
|
|
140
|
-
|
|
141
|
-
*/
|
|
142
|
-
index?: number | null;
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Specifies whether to display the floating label above the input element.
|
|
146
|
-
* Possible values are:
|
|
147
|
-
* * Never: The label will never float in the input when the placeholder is available.
|
|
148
|
-
* * Always: The floating label will always float above the input.
|
|
149
|
-
* * Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
150
|
-
*
|
|
151
|
-
* {% codeBlock src="autocomplete/float-label-type-api/index.ts" %}{% endcodeBlock %}
|
|
152
|
-
*
|
|
153
|
-
* {% codeBlock src="autocomplete/float-label-type-api/index.html" %}{% endcodeBlock %}
|
|
154
|
-
*
|
|
155
|
-
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
156
|
-
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
157
|
-
* @isEnumeration true
|
|
158
|
-
|
|
159
|
-
*/
|
|
160
|
-
floatLabelType?: FloatLabelType;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Not applicable to this component.
|
|
164
|
-
*
|
|
165
|
-
* @default null
|
|
166
|
-
* @aspType string
|
|
167
|
-
* @private
|
|
168
|
-
|
|
169
|
-
*/
|
|
170
|
-
valueTemplate?: string | Function;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Not applicable to this component.
|
|
174
|
-
*
|
|
175
|
-
* @default null
|
|
176
|
-
* @private
|
|
177
|
-
|
|
178
|
-
*/
|
|
179
|
-
filterBarPlaceholder?: string;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Not applicable to this component.
|
|
183
|
-
*
|
|
184
|
-
* @default false
|
|
185
|
-
* @private
|
|
186
|
-
|
|
187
|
-
*/
|
|
188
|
-
allowFiltering?: boolean;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Not applicable to this component.
|
|
192
|
-
*
|
|
193
|
-
* @default null
|
|
194
|
-
* @aspType string
|
|
195
|
-
* @private
|
|
196
|
-
|
|
197
|
-
*/
|
|
198
|
-
text?: string | null;
|
|
10
|
+
* The `fields` property maps the columns of the data table and binds the data to the component.
|
|
11
|
+
* * text - Maps the text column from data table for each list item
|
|
12
|
+
* * value - Maps the value column from data table for each list item
|
|
13
|
+
* * iconCss - Maps the icon class column from data table for each list item
|
|
14
|
+
* * groupBy - Group the list items with it's related items by mapping groupBy field
|
|
15
|
+
*
|
|
16
|
+
* {% codeBlock src='autocomplete/fields/index.md' %}{% endcodeBlock %}
|
|
17
|
+
*
|
|
18
|
+
* > For more details about the field mapping refer to [`Data binding`](../../auto-complete/data-binding) documentation.
|
|
19
|
+
*
|
|
20
|
+
* @default { value: null, iconCss: null, groupBy: null}
|
|
21
|
+
|
|
22
|
+
*/
|
|
23
|
+
fields?: FieldSettingsModel;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* When set to ‘false’, consider the [`case-sensitive`](../../auto-complete/filtering/#case-sensitive-filtering)
|
|
27
|
+
* on performing the search to find suggestions.
|
|
28
|
+
* By default consider the casing.
|
|
29
|
+
*
|
|
30
|
+
* @default true
|
|
31
|
+
|
|
32
|
+
*/
|
|
33
|
+
ignoreCase?: boolean;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Allows you to either show or hide the popup button on the component.
|
|
37
|
+
*
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
showPopupButton?: boolean;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* When set to ‘true’, highlight the searched characters on suggested list items.
|
|
44
|
+
* > For more details about the highlight refer to [`Custom highlight search`](../../auto-complete/how-to/custom-search) documentation.
|
|
45
|
+
*
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
highlight?: boolean;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Supports the [`specified number`](../../auto-complete/filtering#filter-item-count)
|
|
52
|
+
* of list items on the suggestion popup.
|
|
53
|
+
*
|
|
54
|
+
* @default 20
|
|
55
|
+
*/
|
|
56
|
+
suggestionCount?: number;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Allows additional HTML attributes such as title, name, etc., and
|
|
60
|
+
* accepts n number of attributes in a key-value pair format.
|
|
61
|
+
*
|
|
62
|
+
* {% codeBlock src='autocomplete/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
63
|
+
*
|
|
64
|
+
* @default {}
|
|
65
|
+
|
|
66
|
+
*/
|
|
67
|
+
htmlAttributes?: { [key: string]: string };
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Accepts the external `query`
|
|
71
|
+
* that execute along with data processing.
|
|
72
|
+
*
|
|
73
|
+
* {% codeBlock src='autocomplete/query/index.md' %}{% endcodeBlock %}
|
|
74
|
+
*
|
|
75
|
+
* @default null
|
|
76
|
+
|
|
77
|
+
*/
|
|
78
|
+
query?: Query;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Allows you to set [`the minimum search character length']
|
|
82
|
+
* (../../auto-complete/filtering#limit-the-minimum-filter-character),
|
|
83
|
+
* the search action will perform after typed minimum characters.
|
|
84
|
+
*
|
|
85
|
+
* @default 1
|
|
86
|
+
*/
|
|
87
|
+
minLength?: number;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Determines on which filter type, the component needs to be considered on search action.
|
|
91
|
+
* The available [`FilterType`](../../auto-complete/filtering/#change-the-filter-type)
|
|
92
|
+
* and its supported data types are
|
|
93
|
+
*
|
|
94
|
+
* <table>
|
|
95
|
+
* <tr>
|
|
96
|
+
* <td colSpan=1 rowSpan=1>
|
|
97
|
+
* FilterType<br/></td><td colSpan=1 rowSpan=1>
|
|
98
|
+
* Description<br/></td><td colSpan=1 rowSpan=1>
|
|
99
|
+
* Supported Types<br/></td></tr>
|
|
100
|
+
* <tr>
|
|
101
|
+
* <td colSpan=1 rowSpan=1>
|
|
102
|
+
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
103
|
+
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
104
|
+
* String<br/></td></tr>
|
|
105
|
+
* <tr>
|
|
106
|
+
* <td colSpan=1 rowSpan=1>
|
|
107
|
+
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
108
|
+
* Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
109
|
+
* <br/>String<br/></td></tr>
|
|
110
|
+
* <tr>
|
|
111
|
+
* <td colSpan=1 rowSpan=1>
|
|
112
|
+
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
113
|
+
* Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
114
|
+
* <br/>String<br/></td></tr>
|
|
115
|
+
* </table>
|
|
116
|
+
*
|
|
117
|
+
* {% codeBlock src="autocomplete/filter-type-api/index.ts" %}{% endcodeBlock %}
|
|
118
|
+
*
|
|
119
|
+
* {% codeBlock src="autocomplete/filter-type-api/index.html" %}{% endcodeBlock %}
|
|
120
|
+
*
|
|
121
|
+
* The default value set to `Contains`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
122
|
+
*
|
|
123
|
+
* @default 'Contains'
|
|
124
|
+
*/
|
|
125
|
+
filterType?: FilterType;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Triggers on typing a character in the component.
|
|
129
|
+
*
|
|
130
|
+
* @event filtering
|
|
131
|
+
*/
|
|
132
|
+
filtering?: EmitType<FilteringEventArgs>;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Not applicable to this component.
|
|
136
|
+
*
|
|
137
|
+
* @default null
|
|
138
|
+
* @aspType double
|
|
139
|
+
* @private
|
|
140
|
+
|
|
141
|
+
*/
|
|
142
|
+
index?: number | null;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Specifies whether to display the floating label above the input element.
|
|
146
|
+
* Possible values are:
|
|
147
|
+
* * Never: The label will never float in the input when the placeholder is available.
|
|
148
|
+
* * Always: The floating label will always float above the input.
|
|
149
|
+
* * Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
150
|
+
*
|
|
151
|
+
* {% codeBlock src="autocomplete/float-label-type-api/index.ts" %}{% endcodeBlock %}
|
|
152
|
+
*
|
|
153
|
+
* {% codeBlock src="autocomplete/float-label-type-api/index.html" %}{% endcodeBlock %}
|
|
154
|
+
*
|
|
155
|
+
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
156
|
+
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
157
|
+
* @isEnumeration true
|
|
158
|
+
|
|
159
|
+
*/
|
|
160
|
+
floatLabelType?: FloatLabelType;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Not applicable to this component.
|
|
164
|
+
*
|
|
165
|
+
* @default null
|
|
166
|
+
* @aspType string
|
|
167
|
+
* @private
|
|
168
|
+
|
|
169
|
+
*/
|
|
170
|
+
valueTemplate?: string | Function;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Not applicable to this component.
|
|
174
|
+
*
|
|
175
|
+
* @default null
|
|
176
|
+
* @private
|
|
177
|
+
|
|
178
|
+
*/
|
|
179
|
+
filterBarPlaceholder?: string;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Not applicable to this component.
|
|
183
|
+
*
|
|
184
|
+
* @default false
|
|
185
|
+
* @private
|
|
186
|
+
|
|
187
|
+
*/
|
|
188
|
+
allowFiltering?: boolean;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Not applicable to this component.
|
|
192
|
+
*
|
|
193
|
+
* @default null
|
|
194
|
+
* @aspType string
|
|
195
|
+
* @private
|
|
196
|
+
|
|
197
|
+
*/
|
|
198
|
+
text?: string | null;
|
|
199
199
|
|
|
200
200
|
}
|
|
@@ -33,7 +33,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
33
33
|
* > For more details about the field mapping refer to [`Data binding`](../../auto-complete/data-binding) documentation.
|
|
34
34
|
*
|
|
35
35
|
* @default { value: null, iconCss: null, groupBy: null}
|
|
36
|
-
|
|
36
|
+
|
|
37
37
|
*/
|
|
38
38
|
fields: FieldSettingsModel;
|
|
39
39
|
/**
|
|
@@ -42,7 +42,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
42
42
|
* By default consider the casing.
|
|
43
43
|
*
|
|
44
44
|
* @default true
|
|
45
|
-
|
|
45
|
+
|
|
46
46
|
*/
|
|
47
47
|
ignoreCase: boolean;
|
|
48
48
|
/**
|
|
@@ -72,7 +72,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
72
72
|
* {% codeBlock src='autocomplete/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
73
73
|
*
|
|
74
74
|
* @default {}
|
|
75
|
-
|
|
75
|
+
|
|
76
76
|
*/
|
|
77
77
|
htmlAttributes: {
|
|
78
78
|
[key: string]: string;
|
|
@@ -84,7 +84,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
84
84
|
* {% codeBlock src='autocomplete/query/index.md' %}{% endcodeBlock %}
|
|
85
85
|
*
|
|
86
86
|
* @default null
|
|
87
|
-
|
|
87
|
+
|
|
88
88
|
*/
|
|
89
89
|
query: Query;
|
|
90
90
|
/**
|
|
@@ -144,7 +144,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
144
144
|
* @default null
|
|
145
145
|
* @aspType double
|
|
146
146
|
* @private
|
|
147
|
-
|
|
147
|
+
|
|
148
148
|
*/
|
|
149
149
|
index: number | null;
|
|
150
150
|
/**
|
|
@@ -161,7 +161,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
161
161
|
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
162
162
|
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
163
163
|
* @isEnumeration true
|
|
164
|
-
|
|
164
|
+
|
|
165
165
|
*/
|
|
166
166
|
floatLabelType: FloatLabelType;
|
|
167
167
|
/**
|
|
@@ -170,7 +170,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
170
170
|
* @default null
|
|
171
171
|
* @aspType string
|
|
172
172
|
* @private
|
|
173
|
-
|
|
173
|
+
|
|
174
174
|
*/
|
|
175
175
|
valueTemplate: string | Function;
|
|
176
176
|
/**
|
|
@@ -178,7 +178,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
178
178
|
*
|
|
179
179
|
* @default null
|
|
180
180
|
* @private
|
|
181
|
-
|
|
181
|
+
|
|
182
182
|
*/
|
|
183
183
|
filterBarPlaceholder: string;
|
|
184
184
|
/**
|
|
@@ -186,7 +186,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
186
186
|
*
|
|
187
187
|
* @default false
|
|
188
188
|
* @private
|
|
189
|
-
|
|
189
|
+
|
|
190
190
|
*/
|
|
191
191
|
allowFiltering: boolean;
|
|
192
192
|
/**
|
|
@@ -195,7 +195,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
195
195
|
* @default null
|
|
196
196
|
* @aspType string
|
|
197
197
|
* @private
|
|
198
|
-
|
|
198
|
+
|
|
199
199
|
*/
|
|
200
200
|
text: string | null;
|
|
201
201
|
/**
|
|
@@ -225,7 +225,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
225
225
|
* @param {Query} query - Specify the query to filter the data.
|
|
226
226
|
* @param {FieldSettingsModel} fields - Specify the fields to map the column in the data table.
|
|
227
227
|
* @returns {void}
|
|
228
|
-
|
|
228
|
+
|
|
229
229
|
*/
|
|
230
230
|
filter(dataSource: {
|
|
231
231
|
[key: string]: Object;
|
|
@@ -251,7 +251,7 @@ export declare class AutoComplete extends ComboBox {
|
|
|
251
251
|
*
|
|
252
252
|
* @param {MouseEvent | KeyboardEventArgs | TouchEvent} e - The event object.
|
|
253
253
|
* @returns {void}
|
|
254
|
-
|
|
254
|
+
|
|
255
255
|
*/
|
|
256
256
|
showPopup(e?: MouseEvent | KeyboardEventArgs | TouchEvent): void;
|
|
257
257
|
/**
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
20
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
21
21
|
/// <reference path='../combo-box/combo-box-model.d.ts'/>
|
|
22
22
|
import { Property, EventHandler, isNullOrUndefined, detach, getValue } from '@syncfusion/ej2-base';
|
|
@@ -216,7 +216,7 @@ var AutoComplete = /** @class */ (function (_super) {
|
|
|
216
216
|
* @param {Query} query - Specify the query to filter the data.
|
|
217
217
|
* @param {FieldSettingsModel} fields - Specify the fields to map the column in the data table.
|
|
218
218
|
* @returns {void}
|
|
219
|
-
|
|
219
|
+
|
|
220
220
|
*/
|
|
221
221
|
AutoComplete.prototype.filter = function (dataSource, query, fields) {
|
|
222
222
|
this.isFiltered = true;
|
|
@@ -425,7 +425,7 @@ var AutoComplete = /** @class */ (function (_super) {
|
|
|
425
425
|
*
|
|
426
426
|
* @param {MouseEvent | KeyboardEventArgs | TouchEvent} e - The event object.
|
|
427
427
|
* @returns {void}
|
|
428
|
-
|
|
428
|
+
|
|
429
429
|
*/
|
|
430
430
|
AutoComplete.prototype.showPopup = function (e) {
|
|
431
431
|
if (!this.enabled) {
|