@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 { EventHandler, Property, Event, EmitType, addClass, Browser, KeyboardEventArgs, removeClass, detach } from '@syncfusion/ej2-base';
|
|
1
|
+
import { EventHandler, Property, Event, EmitType, addClass, Browser, KeyboardEventArgs, removeClass, detach } from '@syncfusion/ej2-base';import { isNullOrUndefined, NotifyPropertyChanges, getValue, setValue } from '@syncfusion/ej2-base';import { DropDownList, dropDownListClasses } from '../drop-down-list/drop-down-list';import { FilteringEventArgs, ResultData } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { Search } from '../common/incremental-search';import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { DataManager, DataOptions, Predicate, Query } from '@syncfusion/ej2-data';
|
|
2
2
|
import {CustomValueSpecifierEventArgs} from "./combo-box";
|
|
3
3
|
import {DropDownListModel} from "../drop-down-list/drop-down-list-model";
|
|
4
4
|
|
|
@@ -8,236 +8,236 @@ import {DropDownListModel} from "../drop-down-list/drop-down-list-model";
|
|
|
8
8
|
export interface ComboBoxModel extends DropDownListModel{
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Specifies whether suggest a first matched item in input when searching. No action happens when no matches found.
|
|
12
|
-
*
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
15
|
-
autofill?: boolean;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Specifies whether the component allows user defined value which does not exist in data source.
|
|
19
|
-
*
|
|
20
|
-
* @default true
|
|
21
|
-
*/
|
|
22
|
-
allowCustom?: boolean;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Allows additional HTML attributes such as title, name, etc., and
|
|
26
|
-
* accepts n number of attributes in a key-value pair format.
|
|
27
|
-
*
|
|
28
|
-
* {% codeBlock src='combobox/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
29
|
-
*
|
|
30
|
-
* @default {}
|
|
31
|
-
|
|
32
|
-
*/
|
|
33
|
-
htmlAttributes?: { [key: string]: string };
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* When allowFiltering is set to true, show the filter bar (search box) of the component.
|
|
37
|
-
* The filter action retrieves matched items through the `filtering` event based on
|
|
38
|
-
* the characters typed in the search TextBox.
|
|
39
|
-
* If no match is found, the value of the `noRecordsTemplate` property will be displayed.
|
|
40
|
-
*
|
|
41
|
-
* {% codeBlock src="combobox/allow-filtering-api/index.ts" %}{% endcodeBlock %}
|
|
42
|
-
*
|
|
43
|
-
* {% codeBlock src="combobox/allow-filtering-api/index.html" %}{% endcodeBlock %}
|
|
44
|
-
*
|
|
45
|
-
* @default false
|
|
46
|
-
|
|
47
|
-
*/
|
|
48
|
-
allowFiltering?: boolean;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Defines whether the popup opens in fullscreen mode on mobile devices when filtering is enabled. When set to false, the popup will display similarly on both mobile and desktop devices.
|
|
52
|
-
*
|
|
53
|
-
* @default true
|
|
54
|
-
*/
|
|
55
|
-
isDeviceFullScreen?: boolean;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Accepts the external `Query`
|
|
59
|
-
* that execute along with [`data processing`](../../combo-box/data-binding).
|
|
60
|
-
*
|
|
61
|
-
* {% codeBlock src='combobox/query/index.md' %}{% endcodeBlock %}
|
|
62
|
-
*
|
|
63
|
-
* @default null
|
|
64
|
-
|
|
65
|
-
*/
|
|
66
|
-
query?: Query;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Gets or sets the index of the selected item in the component.
|
|
70
|
-
*
|
|
71
|
-
* {% codeBlock src="combobox/index-api/index.ts" %}{% endcodeBlock %}
|
|
72
|
-
*
|
|
73
|
-
* {% codeBlock src="combobox/index-api/index.html" %}{% endcodeBlock %}
|
|
74
|
-
*
|
|
75
|
-
* @default null
|
|
76
|
-
* @aspType double
|
|
77
|
-
|
|
78
|
-
*/
|
|
79
|
-
index?: number | null;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Specifies whether to show or hide the clear button.
|
|
83
|
-
* When the clear button is clicked, `value`, `text`, and `index` properties are reset to null.
|
|
84
|
-
*
|
|
85
|
-
* @default true
|
|
86
|
-
*/
|
|
87
|
-
showClearButton?: boolean;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Triggers on set a
|
|
91
|
-
* [`custom value`](../../combo-box/getting-started#custom-values) to this component.
|
|
92
|
-
*
|
|
93
|
-
* @event customValueSpecifier
|
|
94
|
-
*/
|
|
95
|
-
customValueSpecifier?: EmitType<CustomValueSpecifierEventArgs>;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Triggers on typing a character in the component.
|
|
99
|
-
* > For more details about the filtering refer to [`Filtering`](../../combo-box/filtering) documentation.
|
|
100
|
-
*
|
|
101
|
-
* @event filtering
|
|
102
|
-
*/
|
|
103
|
-
filtering?: EmitType<FilteringEventArgs>;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Not applicable to this component.
|
|
107
|
-
*
|
|
108
|
-
* @default null
|
|
109
|
-
* @aspType string
|
|
110
|
-
* @private
|
|
111
|
-
*/
|
|
112
|
-
valueTemplate?: string | Function;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Specifies whether to display the floating label above the input element.
|
|
116
|
-
* Possible values are:
|
|
117
|
-
* * Never: The label will never float in the input when the placeholder is available.
|
|
118
|
-
* * Always: The floating label will always float above the input.
|
|
119
|
-
* * Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
120
|
-
*
|
|
121
|
-
* {% codeBlock src="combobox/float-label-type-api/index.ts" %}{% endcodeBlock %}
|
|
122
|
-
*
|
|
123
|
-
* {% codeBlock src="combobox/float-label-type-api/index.html" %}{% endcodeBlock %}
|
|
124
|
-
*
|
|
125
|
-
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
126
|
-
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
127
|
-
* @isEnumeration true
|
|
128
|
-
|
|
129
|
-
*/
|
|
130
|
-
floatLabelType?: FloatLabelType;
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Not applicable to this component.
|
|
134
|
-
*
|
|
135
|
-
* @default null
|
|
136
|
-
* @private
|
|
137
|
-
|
|
138
|
-
*/
|
|
139
|
-
filterBarPlaceholder?: string;
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* Sets CSS classes to the root element of the component that allows customization of appearance.
|
|
143
|
-
*
|
|
144
|
-
* @default null
|
|
145
|
-
|
|
146
|
-
*/
|
|
147
|
-
cssClass?: string;
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* Accepts the template design and assigns it to the header container of the popup list.
|
|
151
|
-
* > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
|
|
152
|
-
*
|
|
153
|
-
* @default null
|
|
154
|
-
* @aspType string
|
|
155
|
-
|
|
156
|
-
*/
|
|
157
|
-
headerTemplate?: string | Function;
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Accepts the template design and assigns it to the footer container of the popup list.
|
|
161
|
-
* > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
|
|
162
|
-
*
|
|
163
|
-
* @default null
|
|
164
|
-
* @aspType string
|
|
165
|
-
|
|
166
|
-
*/
|
|
167
|
-
footerTemplate?: string | Function;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Specifies a short hint that describes the expected value of the DropDownList component.
|
|
171
|
-
*
|
|
172
|
-
* @default null
|
|
173
|
-
|
|
174
|
-
*/
|
|
175
|
-
placeholder?: string;
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Specifies the width of the component. By default, the component width sets based on the width of
|
|
179
|
-
* its parent container. You can also set the width in pixel values.
|
|
180
|
-
*
|
|
181
|
-
* @default '100%'
|
|
182
|
-
* @aspType string
|
|
183
|
-
|
|
184
|
-
*/
|
|
185
|
-
width?: string | number;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* Specifies the height of the popup list.
|
|
189
|
-
* > For more details about the popup configuration refer to
|
|
190
|
-
* [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
|
|
191
|
-
*
|
|
192
|
-
* @default '300px'
|
|
193
|
-
* @aspType string
|
|
194
|
-
|
|
195
|
-
*/
|
|
196
|
-
popupHeight?: string | number;
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* Specifies the width of the popup list. By default, the popup width sets based on the width of
|
|
200
|
-
* the component.
|
|
201
|
-
* > For more details about the popup configuration refer to
|
|
202
|
-
* [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
|
|
203
|
-
*
|
|
204
|
-
* @default '100%'
|
|
205
|
-
* @aspType string
|
|
206
|
-
|
|
207
|
-
*/
|
|
208
|
-
popupWidth?: string | number;
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* When set to true, the user interactions on the component are disabled.
|
|
212
|
-
*
|
|
213
|
-
* @default false
|
|
214
|
-
|
|
215
|
-
*/
|
|
216
|
-
readonly?: boolean;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Gets or sets the display text of the selected item in the component.
|
|
220
|
-
*
|
|
221
|
-
* @default null
|
|
222
|
-
* @aspType string
|
|
223
|
-
|
|
224
|
-
*/
|
|
225
|
-
text?: string | null;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Gets or sets the value of the selected item in the component.
|
|
229
|
-
*
|
|
230
|
-
* @default null
|
|
231
|
-
* @isGenericType true
|
|
232
|
-
|
|
233
|
-
*/
|
|
234
|
-
value?: number | string | boolean | object | null;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Defines whether the object binding is allowed or not in the component.
|
|
238
|
-
*
|
|
239
|
-
* @default false
|
|
240
|
-
*/
|
|
241
|
-
allowObjectBinding?: boolean;
|
|
11
|
+
* Specifies whether suggest a first matched item in input when searching. No action happens when no matches found.
|
|
12
|
+
*
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
autofill?: boolean;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Specifies whether the component allows user defined value which does not exist in data source.
|
|
19
|
+
*
|
|
20
|
+
* @default true
|
|
21
|
+
*/
|
|
22
|
+
allowCustom?: boolean;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Allows additional HTML attributes such as title, name, etc., and
|
|
26
|
+
* accepts n number of attributes in a key-value pair format.
|
|
27
|
+
*
|
|
28
|
+
* {% codeBlock src='combobox/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
29
|
+
*
|
|
30
|
+
* @default {}
|
|
31
|
+
|
|
32
|
+
*/
|
|
33
|
+
htmlAttributes?: { [key: string]: string };
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* When allowFiltering is set to true, show the filter bar (search box) of the component.
|
|
37
|
+
* The filter action retrieves matched items through the `filtering` event based on
|
|
38
|
+
* the characters typed in the search TextBox.
|
|
39
|
+
* If no match is found, the value of the `noRecordsTemplate` property will be displayed.
|
|
40
|
+
*
|
|
41
|
+
* {% codeBlock src="combobox/allow-filtering-api/index.ts" %}{% endcodeBlock %}
|
|
42
|
+
*
|
|
43
|
+
* {% codeBlock src="combobox/allow-filtering-api/index.html" %}{% endcodeBlock %}
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
|
|
47
|
+
*/
|
|
48
|
+
allowFiltering?: boolean;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Defines whether the popup opens in fullscreen mode on mobile devices when filtering is enabled. When set to false, the popup will display similarly on both mobile and desktop devices.
|
|
52
|
+
*
|
|
53
|
+
* @default true
|
|
54
|
+
*/
|
|
55
|
+
isDeviceFullScreen?: boolean;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Accepts the external `Query`
|
|
59
|
+
* that execute along with [`data processing`](../../combo-box/data-binding).
|
|
60
|
+
*
|
|
61
|
+
* {% codeBlock src='combobox/query/index.md' %}{% endcodeBlock %}
|
|
62
|
+
*
|
|
63
|
+
* @default null
|
|
64
|
+
|
|
65
|
+
*/
|
|
66
|
+
query?: Query;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Gets or sets the index of the selected item in the component.
|
|
70
|
+
*
|
|
71
|
+
* {% codeBlock src="combobox/index-api/index.ts" %}{% endcodeBlock %}
|
|
72
|
+
*
|
|
73
|
+
* {% codeBlock src="combobox/index-api/index.html" %}{% endcodeBlock %}
|
|
74
|
+
*
|
|
75
|
+
* @default null
|
|
76
|
+
* @aspType double
|
|
77
|
+
|
|
78
|
+
*/
|
|
79
|
+
index?: number | null;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Specifies whether to show or hide the clear button.
|
|
83
|
+
* When the clear button is clicked, `value`, `text`, and `index` properties are reset to null.
|
|
84
|
+
*
|
|
85
|
+
* @default true
|
|
86
|
+
*/
|
|
87
|
+
showClearButton?: boolean;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Triggers on set a
|
|
91
|
+
* [`custom value`](../../combo-box/getting-started#custom-values) to this component.
|
|
92
|
+
*
|
|
93
|
+
* @event customValueSpecifier
|
|
94
|
+
*/
|
|
95
|
+
customValueSpecifier?: EmitType<CustomValueSpecifierEventArgs>;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Triggers on typing a character in the component.
|
|
99
|
+
* > For more details about the filtering refer to [`Filtering`](../../combo-box/filtering) documentation.
|
|
100
|
+
*
|
|
101
|
+
* @event filtering
|
|
102
|
+
*/
|
|
103
|
+
filtering?: EmitType<FilteringEventArgs>;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Not applicable to this component.
|
|
107
|
+
*
|
|
108
|
+
* @default null
|
|
109
|
+
* @aspType string
|
|
110
|
+
* @private
|
|
111
|
+
*/
|
|
112
|
+
valueTemplate?: string | Function;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Specifies whether to display the floating label above the input element.
|
|
116
|
+
* Possible values are:
|
|
117
|
+
* * Never: The label will never float in the input when the placeholder is available.
|
|
118
|
+
* * Always: The floating label will always float above the input.
|
|
119
|
+
* * Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
120
|
+
*
|
|
121
|
+
* {% codeBlock src="combobox/float-label-type-api/index.ts" %}{% endcodeBlock %}
|
|
122
|
+
*
|
|
123
|
+
* {% codeBlock src="combobox/float-label-type-api/index.html" %}{% endcodeBlock %}
|
|
124
|
+
*
|
|
125
|
+
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
126
|
+
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
127
|
+
* @isEnumeration true
|
|
128
|
+
|
|
129
|
+
*/
|
|
130
|
+
floatLabelType?: FloatLabelType;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Not applicable to this component.
|
|
134
|
+
*
|
|
135
|
+
* @default null
|
|
136
|
+
* @private
|
|
137
|
+
|
|
138
|
+
*/
|
|
139
|
+
filterBarPlaceholder?: string;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Sets CSS classes to the root element of the component that allows customization of appearance.
|
|
143
|
+
*
|
|
144
|
+
* @default null
|
|
145
|
+
|
|
146
|
+
*/
|
|
147
|
+
cssClass?: string;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Accepts the template design and assigns it to the header container of the popup list.
|
|
151
|
+
* > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
|
|
152
|
+
*
|
|
153
|
+
* @default null
|
|
154
|
+
* @aspType string
|
|
155
|
+
|
|
156
|
+
*/
|
|
157
|
+
headerTemplate?: string | Function;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Accepts the template design and assigns it to the footer container of the popup list.
|
|
161
|
+
* > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
|
|
162
|
+
*
|
|
163
|
+
* @default null
|
|
164
|
+
* @aspType string
|
|
165
|
+
|
|
166
|
+
*/
|
|
167
|
+
footerTemplate?: string | Function;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Specifies a short hint that describes the expected value of the DropDownList component.
|
|
171
|
+
*
|
|
172
|
+
* @default null
|
|
173
|
+
|
|
174
|
+
*/
|
|
175
|
+
placeholder?: string;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Specifies the width of the component. By default, the component width sets based on the width of
|
|
179
|
+
* its parent container. You can also set the width in pixel values.
|
|
180
|
+
*
|
|
181
|
+
* @default '100%'
|
|
182
|
+
* @aspType string
|
|
183
|
+
|
|
184
|
+
*/
|
|
185
|
+
width?: string | number;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Specifies the height of the popup list.
|
|
189
|
+
* > For more details about the popup configuration refer to
|
|
190
|
+
* [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
|
|
191
|
+
*
|
|
192
|
+
* @default '300px'
|
|
193
|
+
* @aspType string
|
|
194
|
+
|
|
195
|
+
*/
|
|
196
|
+
popupHeight?: string | number;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Specifies the width of the popup list. By default, the popup width sets based on the width of
|
|
200
|
+
* the component.
|
|
201
|
+
* > For more details about the popup configuration refer to
|
|
202
|
+
* [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
|
|
203
|
+
*
|
|
204
|
+
* @default '100%'
|
|
205
|
+
* @aspType string
|
|
206
|
+
|
|
207
|
+
*/
|
|
208
|
+
popupWidth?: string | number;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* When set to true, the user interactions on the component are disabled.
|
|
212
|
+
*
|
|
213
|
+
* @default false
|
|
214
|
+
|
|
215
|
+
*/
|
|
216
|
+
readonly?: boolean;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Gets or sets the display text of the selected item in the component.
|
|
220
|
+
*
|
|
221
|
+
* @default null
|
|
222
|
+
* @aspType string
|
|
223
|
+
|
|
224
|
+
*/
|
|
225
|
+
text?: string | null;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Gets or sets the value of the selected item in the component.
|
|
229
|
+
*
|
|
230
|
+
* @default null
|
|
231
|
+
* @isGenericType true
|
|
232
|
+
|
|
233
|
+
*/
|
|
234
|
+
value?: number | string | boolean | object | null;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Defines whether the object binding is allowed or not in the component.
|
|
238
|
+
*
|
|
239
|
+
* @default false
|
|
240
|
+
*/
|
|
241
|
+
allowObjectBinding?: boolean;
|
|
242
242
|
|
|
243
243
|
}
|