@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
|
@@ -42,7 +42,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
42
42
|
* {% codeBlock src='combobox/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
43
43
|
*
|
|
44
44
|
* @default {}
|
|
45
|
-
|
|
45
|
+
|
|
46
46
|
*/
|
|
47
47
|
htmlAttributes: {
|
|
48
48
|
[key: string]: string;
|
|
@@ -58,7 +58,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
58
58
|
* {% codeBlock src="combobox/allow-filtering-api/index.html" %}{% endcodeBlock %}
|
|
59
59
|
*
|
|
60
60
|
* @default false
|
|
61
|
-
|
|
61
|
+
|
|
62
62
|
*/
|
|
63
63
|
allowFiltering: boolean;
|
|
64
64
|
/**
|
|
@@ -74,7 +74,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
74
74
|
* {% codeBlock src='combobox/query/index.md' %}{% endcodeBlock %}
|
|
75
75
|
*
|
|
76
76
|
* @default null
|
|
77
|
-
|
|
77
|
+
|
|
78
78
|
*/
|
|
79
79
|
query: Query;
|
|
80
80
|
/**
|
|
@@ -86,7 +86,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
86
86
|
*
|
|
87
87
|
* @default null
|
|
88
88
|
* @aspType double
|
|
89
|
-
|
|
89
|
+
|
|
90
90
|
*/
|
|
91
91
|
index: number | null;
|
|
92
92
|
/**
|
|
@@ -132,7 +132,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
132
132
|
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
133
133
|
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
134
134
|
* @isEnumeration true
|
|
135
|
-
|
|
135
|
+
|
|
136
136
|
*/
|
|
137
137
|
floatLabelType: FloatLabelType;
|
|
138
138
|
/**
|
|
@@ -140,14 +140,14 @@ export declare class ComboBox extends DropDownList {
|
|
|
140
140
|
*
|
|
141
141
|
* @default null
|
|
142
142
|
* @private
|
|
143
|
-
|
|
143
|
+
|
|
144
144
|
*/
|
|
145
145
|
filterBarPlaceholder: string;
|
|
146
146
|
/**
|
|
147
147
|
* Sets CSS classes to the root element of the component that allows customization of appearance.
|
|
148
148
|
*
|
|
149
149
|
* @default null
|
|
150
|
-
|
|
150
|
+
|
|
151
151
|
*/
|
|
152
152
|
cssClass: string;
|
|
153
153
|
/**
|
|
@@ -156,7 +156,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
156
156
|
*
|
|
157
157
|
* @default null
|
|
158
158
|
* @aspType string
|
|
159
|
-
|
|
159
|
+
|
|
160
160
|
*/
|
|
161
161
|
headerTemplate: string | Function;
|
|
162
162
|
/**
|
|
@@ -165,14 +165,14 @@ export declare class ComboBox extends DropDownList {
|
|
|
165
165
|
*
|
|
166
166
|
* @default null
|
|
167
167
|
* @aspType string
|
|
168
|
-
|
|
168
|
+
|
|
169
169
|
*/
|
|
170
170
|
footerTemplate: string | Function;
|
|
171
171
|
/**
|
|
172
172
|
* Specifies a short hint that describes the expected value of the DropDownList component.
|
|
173
173
|
*
|
|
174
174
|
* @default null
|
|
175
|
-
|
|
175
|
+
|
|
176
176
|
*/
|
|
177
177
|
placeholder: string;
|
|
178
178
|
/**
|
|
@@ -181,7 +181,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
181
181
|
*
|
|
182
182
|
* @default '100%'
|
|
183
183
|
* @aspType string
|
|
184
|
-
|
|
184
|
+
|
|
185
185
|
*/
|
|
186
186
|
width: string | number;
|
|
187
187
|
/**
|
|
@@ -191,7 +191,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
191
191
|
*
|
|
192
192
|
* @default '300px'
|
|
193
193
|
* @aspType string
|
|
194
|
-
|
|
194
|
+
|
|
195
195
|
*/
|
|
196
196
|
popupHeight: string | number;
|
|
197
197
|
/**
|
|
@@ -202,14 +202,14 @@ export declare class ComboBox extends DropDownList {
|
|
|
202
202
|
*
|
|
203
203
|
* @default '100%'
|
|
204
204
|
* @aspType string
|
|
205
|
-
|
|
205
|
+
|
|
206
206
|
*/
|
|
207
207
|
popupWidth: string | number;
|
|
208
208
|
/**
|
|
209
209
|
* When set to true, the user interactions on the component are disabled.
|
|
210
210
|
*
|
|
211
211
|
* @default false
|
|
212
|
-
|
|
212
|
+
|
|
213
213
|
*/
|
|
214
214
|
readonly: boolean;
|
|
215
215
|
/**
|
|
@@ -217,7 +217,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
217
217
|
*
|
|
218
218
|
* @default null
|
|
219
219
|
* @aspType string
|
|
220
|
-
|
|
220
|
+
|
|
221
221
|
*/
|
|
222
222
|
text: string | null;
|
|
223
223
|
/**
|
|
@@ -225,7 +225,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
225
225
|
*
|
|
226
226
|
* @default null
|
|
227
227
|
* @isGenericType true
|
|
228
|
-
|
|
228
|
+
|
|
229
229
|
*/
|
|
230
230
|
value: number | string | boolean | object | null;
|
|
231
231
|
/**
|
|
@@ -275,14 +275,14 @@ export declare class ComboBox extends DropDownList {
|
|
|
275
275
|
* Shows the spinner loader.
|
|
276
276
|
*
|
|
277
277
|
* @returns {void}
|
|
278
|
-
|
|
278
|
+
|
|
279
279
|
*/
|
|
280
280
|
showSpinner(): void;
|
|
281
281
|
/**
|
|
282
282
|
* Hides the spinner loader.
|
|
283
283
|
*
|
|
284
284
|
* @returns {void}
|
|
285
|
-
|
|
285
|
+
|
|
286
286
|
*/
|
|
287
287
|
hideSpinner(): void;
|
|
288
288
|
protected setAutoFill(activeElement: Element, isHover?: boolean): void;
|
|
@@ -331,7 +331,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
331
331
|
* @param { Object[] } items - Specifies an array of JSON data or a JSON data.
|
|
332
332
|
* @param { number } itemIndex - Specifies the index to place the newly added item in the popup list.
|
|
333
333
|
* @returns {void}
|
|
334
|
-
|
|
334
|
+
|
|
335
335
|
*/
|
|
336
336
|
addItem(items: {
|
|
337
337
|
[key: string]: Object;
|
|
@@ -345,7 +345,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
345
345
|
* @param {Query} query - Specify the query to filter the data.
|
|
346
346
|
* @param {FieldSettingsModel} fields - Specify the fields to map the column in the data table.
|
|
347
347
|
* @returns {void}
|
|
348
|
-
|
|
348
|
+
|
|
349
349
|
*/
|
|
350
350
|
filter(dataSource: {
|
|
351
351
|
[key: string]: Object;
|
|
@@ -354,14 +354,14 @@ export declare class ComboBox extends DropDownList {
|
|
|
354
354
|
* Opens the popup that displays the list of items.
|
|
355
355
|
*
|
|
356
356
|
* @returns {void}
|
|
357
|
-
|
|
357
|
+
|
|
358
358
|
*/
|
|
359
359
|
showPopup(e?: MouseEvent | KeyboardEventArgs | TouchEvent): void;
|
|
360
360
|
/**
|
|
361
361
|
* Hides the popup if it is in open state.
|
|
362
362
|
*
|
|
363
363
|
* @returns {void}
|
|
364
|
-
|
|
364
|
+
|
|
365
365
|
*/
|
|
366
366
|
hidePopup(e?: MouseEvent | KeyboardEventArgs | TouchEvent): void;
|
|
367
367
|
/**
|
|
@@ -374,21 +374,21 @@ export declare class ComboBox extends DropDownList {
|
|
|
374
374
|
* Allows you to clear the selected values from the component.
|
|
375
375
|
*
|
|
376
376
|
* @returns {void}
|
|
377
|
-
|
|
377
|
+
|
|
378
378
|
*/
|
|
379
379
|
clear(): void;
|
|
380
380
|
/**
|
|
381
381
|
* Moves the focus from the component if the component is already focused.
|
|
382
382
|
*
|
|
383
383
|
* @returns {void}
|
|
384
|
-
|
|
384
|
+
|
|
385
385
|
*/
|
|
386
386
|
focusOut(e?: MouseEvent | KeyboardEventArgs): void;
|
|
387
387
|
/**
|
|
388
388
|
* Gets all the list items bound on this component.
|
|
389
389
|
*
|
|
390
390
|
* @returns {Element[]}
|
|
391
|
-
|
|
391
|
+
|
|
392
392
|
*/
|
|
393
393
|
getItems(): Element[];
|
|
394
394
|
/**
|
|
@@ -396,7 +396,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
396
396
|
*
|
|
397
397
|
* @param { string | number } value - Specifies the value of the list item.
|
|
398
398
|
* @returns {Object}
|
|
399
|
-
|
|
399
|
+
|
|
400
400
|
*/
|
|
401
401
|
getDataByValue(value: string | number | boolean): {
|
|
402
402
|
[key: string]: Object;
|
|
@@ -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='../drop-down-list/drop-down-list-model.d.ts'/>
|
|
22
22
|
import { EventHandler, Property, Event, addClass, Browser, removeClass, detach } from '@syncfusion/ej2-base';
|
|
@@ -480,7 +480,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
480
480
|
* Shows the spinner loader.
|
|
481
481
|
*
|
|
482
482
|
* @returns {void}
|
|
483
|
-
|
|
483
|
+
|
|
484
484
|
*/
|
|
485
485
|
ComboBox.prototype.showSpinner = function () {
|
|
486
486
|
if (isNullOrUndefined(this.spinnerElement)) {
|
|
@@ -500,7 +500,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
500
500
|
* Hides the spinner loader.
|
|
501
501
|
*
|
|
502
502
|
* @returns {void}
|
|
503
|
-
|
|
503
|
+
|
|
504
504
|
*/
|
|
505
505
|
ComboBox.prototype.hideSpinner = function () {
|
|
506
506
|
if (!isNullOrUndefined(this.spinnerElement)) {
|
|
@@ -868,7 +868,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
868
868
|
* @param { Object[] } items - Specifies an array of JSON data or a JSON data.
|
|
869
869
|
* @param { number } itemIndex - Specifies the index to place the newly added item in the popup list.
|
|
870
870
|
* @returns {void}
|
|
871
|
-
|
|
871
|
+
|
|
872
872
|
*/
|
|
873
873
|
ComboBox.prototype.addItem = function (items, itemIndex) {
|
|
874
874
|
_super.prototype.addItem.call(this, items, itemIndex);
|
|
@@ -880,7 +880,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
880
880
|
* @param {Query} query - Specify the query to filter the data.
|
|
881
881
|
* @param {FieldSettingsModel} fields - Specify the fields to map the column in the data table.
|
|
882
882
|
* @returns {void}
|
|
883
|
-
|
|
883
|
+
|
|
884
884
|
*/
|
|
885
885
|
ComboBox.prototype.filter = function (dataSource, query, fields) {
|
|
886
886
|
_super.prototype.filter.call(this, dataSource, query, fields);
|
|
@@ -890,7 +890,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
890
890
|
* Opens the popup that displays the list of items.
|
|
891
891
|
*
|
|
892
892
|
* @returns {void}
|
|
893
|
-
|
|
893
|
+
|
|
894
894
|
*/
|
|
895
895
|
ComboBox.prototype.showPopup = function (e) {
|
|
896
896
|
/* eslint-enable valid-jsdoc, jsdoc/require-param */
|
|
@@ -901,7 +901,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
901
901
|
* Hides the popup if it is in open state.
|
|
902
902
|
*
|
|
903
903
|
* @returns {void}
|
|
904
|
-
|
|
904
|
+
|
|
905
905
|
*/
|
|
906
906
|
ComboBox.prototype.hidePopup = function (e) {
|
|
907
907
|
/* eslint-enable valid-jsdoc, jsdoc/require-param */
|
|
@@ -972,7 +972,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
972
972
|
* Allows you to clear the selected values from the component.
|
|
973
973
|
*
|
|
974
974
|
* @returns {void}
|
|
975
|
-
|
|
975
|
+
|
|
976
976
|
*/
|
|
977
977
|
ComboBox.prototype.clear = function () {
|
|
978
978
|
this.value = null;
|
|
@@ -982,7 +982,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
982
982
|
* Moves the focus from the component if the component is already focused.
|
|
983
983
|
*
|
|
984
984
|
* @returns {void}
|
|
985
|
-
|
|
985
|
+
|
|
986
986
|
*/
|
|
987
987
|
ComboBox.prototype.focusOut = function (e) {
|
|
988
988
|
/* eslint-enable valid-jsdoc, jsdoc/require-param */
|
|
@@ -993,7 +993,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
993
993
|
* Gets all the list items bound on this component.
|
|
994
994
|
*
|
|
995
995
|
* @returns {Element[]}
|
|
996
|
-
|
|
996
|
+
|
|
997
997
|
*/
|
|
998
998
|
ComboBox.prototype.getItems = function () {
|
|
999
999
|
return _super.prototype.getItems.call(this);
|
|
@@ -1003,7 +1003,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
1003
1003
|
*
|
|
1004
1004
|
* @param { string | number } value - Specifies the value of the list item.
|
|
1005
1005
|
* @returns {Object}
|
|
1006
|
-
|
|
1006
|
+
|
|
1007
1007
|
*/
|
|
1008
1008
|
ComboBox.prototype.getDataByValue = function (value) {
|
|
1009
1009
|
return _super.prototype.getDataByValue.call(this, value);
|
|
@@ -127,7 +127,7 @@ export function Search(inputVal, items, searchType, ignoreCase, dataSource, fiel
|
|
|
127
127
|
var listItems = items;
|
|
128
128
|
ignoreCase = ignoreCase !== undefined && ignoreCase !== null ? ignoreCase : true;
|
|
129
129
|
var itemData = { item: null, index: null };
|
|
130
|
-
if (inputVal && inputVal.length
|
|
130
|
+
if (inputVal && inputVal.length) {
|
|
131
131
|
var strLength = inputVal.length;
|
|
132
132
|
var queryStr = ignoreCase ? inputVal.toLocaleLowerCase() : inputVal;
|
|
133
133
|
queryStr = escapeCharRegExp(queryStr);
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
14
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
15
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
16
|
-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
17
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
21
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
22
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
23
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
24
|
-
function step(op) {
|
|
25
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
26
|
-
while (_) try {
|
|
27
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
28
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
29
|
-
switch (op[0]) {
|
|
30
|
-
case 0: case 1: t = op; break;
|
|
31
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
32
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
33
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
34
|
-
default:
|
|
35
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
36
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
37
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
38
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
39
|
-
if (t[2]) _.ops.pop();
|
|
40
|
-
_.trys.pop(); continue;
|
|
41
|
-
}
|
|
42
|
-
op = body.call(thisArg, _);
|
|
43
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
44
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
45
|
-
}
|
|
46
|
-
};
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
14
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
15
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
16
|
+
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
17
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
21
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
22
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
23
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
24
|
+
function step(op) {
|
|
25
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
26
|
+
while (_) try {
|
|
27
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
28
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
29
|
+
switch (op[0]) {
|
|
30
|
+
case 0: case 1: t = op; break;
|
|
31
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
32
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
33
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
34
|
+
default:
|
|
35
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
36
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
37
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
38
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
39
|
+
if (t[2]) _.ops.pop();
|
|
40
|
+
_.trys.pop(); continue;
|
|
41
|
+
}
|
|
42
|
+
op = body.call(thisArg, _);
|
|
43
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
44
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
47
|
import { EventHandler, Browser, select, isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
48
48
|
import { debounce, Touch } from '@syncfusion/ej2-base';
|
|
49
49
|
import { DataManager, Query } from '@syncfusion/ej2-data';
|