@syncfusion/ej2-dropdowns 25.2.5 → 25.2.7-130084
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/{README.md → ReadMe.md} +1 -1
- package/dist/ej2-dropdowns.min.js +1 -10
- package/dist/ej2-dropdowns.umd.min.js +1 -10
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +13 -14
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +13 -14
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +1 -10
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/package.json +79 -79
- package/src/auto-complete/auto-complete-model.d.ts +10 -10
- package/src/auto-complete/auto-complete.d.ts +12 -12
- package/src/auto-complete/auto-complete.js +2 -2
- package/src/combo-box/combo-box-model.d.ts +17 -17
- package/src/combo-box/combo-box.d.ts +27 -27
- package/src/combo-box/combo-box.js +10 -10
- package/src/drop-down-base/drop-down-base-model.d.ts +13 -13
- package/src/drop-down-base/drop-down-base.d.ts +15 -15
- package/src/drop-down-base/drop-down-base.js +1 -1
- package/src/drop-down-list/drop-down-list-model.d.ts +3 -3
- package/src/drop-down-list/drop-down-list.d.ts +4 -5
- package/src/drop-down-list/drop-down-list.js +1 -10
- package/src/drop-down-tree/drop-down-tree-model.d.ts +1 -1
- package/src/drop-down-tree/drop-down-tree.d.ts +1 -1
- package/src/drop-down-tree/drop-down-tree.js +0 -1
- package/src/list-box/list-box-model.d.ts +2 -2
- package/src/list-box/list-box.d.ts +2 -2
- package/src/multi-select/multi-select.js +13 -4
- package/styles/auto-complete/material3-dark.scss +1 -1
- package/styles/auto-complete/material3.scss +1 -1
- package/styles/bootstrap-dark.css +3 -0
- package/styles/bootstrap.css +3 -0
- package/styles/bootstrap4.css +3 -0
- package/styles/bootstrap5-dark.css +3 -0
- package/styles/bootstrap5.css +3 -0
- package/styles/combo-box/material3-dark.scss +1 -1
- package/styles/combo-box/material3.scss +1 -1
- package/styles/drop-down-base/material3-dark.scss +1 -1
- package/styles/drop-down-base/material3.scss +1 -1
- package/styles/drop-down-list/material3-dark.scss +1 -1
- package/styles/drop-down-list/material3.scss +1 -1
- package/styles/drop-down-tree/_bds-definition.scss +1 -0
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +2 -1
- package/styles/drop-down-tree/_bootstrap-definition.scss +2 -1
- package/styles/drop-down-tree/_bootstrap4-definition.scss +2 -1
- package/styles/drop-down-tree/_bootstrap5-definition.scss +2 -1
- package/styles/drop-down-tree/_fabric-dark-definition.scss +2 -1
- package/styles/drop-down-tree/_fabric-definition.scss +2 -1
- package/styles/drop-down-tree/_fluent-definition.scss +2 -1
- package/styles/drop-down-tree/_fusionnew-definition.scss +2 -1
- package/styles/drop-down-tree/_highcontrast-definition.scss +2 -1
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +2 -1
- package/styles/drop-down-tree/_material-dark-definition.scss +2 -1
- package/styles/drop-down-tree/_material-definition.scss +2 -1
- package/styles/drop-down-tree/_material3-definition.scss +1 -0
- package/styles/drop-down-tree/_tailwind-definition.scss +1 -0
- package/styles/drop-down-tree/_theme.scss +3 -0
- package/styles/drop-down-tree/bootstrap-dark.css +3 -0
- package/styles/drop-down-tree/bootstrap.css +3 -0
- package/styles/drop-down-tree/bootstrap4.css +3 -0
- package/styles/drop-down-tree/bootstrap5-dark.css +3 -0
- package/styles/drop-down-tree/bootstrap5.css +3 -0
- package/styles/drop-down-tree/fabric-dark.css +3 -0
- package/styles/drop-down-tree/fabric.css +3 -0
- package/styles/drop-down-tree/fluent-dark.css +3 -0
- package/styles/drop-down-tree/fluent.css +3 -0
- package/styles/drop-down-tree/highcontrast-light.css +3 -0
- package/styles/drop-down-tree/highcontrast.css +3 -0
- package/styles/drop-down-tree/material-dark.css +3 -0
- package/styles/drop-down-tree/material.css +3 -0
- package/styles/drop-down-tree/material3-dark.css +3 -0
- package/styles/drop-down-tree/material3-dark.scss +1 -1
- package/styles/drop-down-tree/material3.css +3 -0
- package/styles/drop-down-tree/material3.scss +1 -1
- package/styles/drop-down-tree/tailwind-dark.css +3 -0
- package/styles/drop-down-tree/tailwind.css +3 -0
- package/styles/fabric-dark.css +3 -0
- package/styles/fabric.css +3 -0
- package/styles/fluent-dark.css +3 -0
- package/styles/fluent.css +3 -0
- package/styles/highcontrast-light.css +3 -0
- package/styles/highcontrast.css +3 -0
- package/styles/list-box/material3-dark.scss +1 -1
- package/styles/list-box/material3.scss +1 -1
- package/styles/material-dark.css +3 -0
- package/styles/material.css +3 -0
- package/styles/material3-dark.css +3 -0
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +3 -0
- package/styles/material3.scss +1 -1
- package/styles/mention/material3-dark.scss +1 -1
- package/styles/mention/material3.scss +1 -1
- package/styles/multi-select/material3-dark.scss +1 -1
- package/styles/multi-select/material3.scss +1 -1
- package/styles/tailwind-dark.css +3 -0
- package/styles/tailwind.css +3 -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
|
+
* @deprecated
|
|
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
|
+
* @deprecated
|
|
62
62
|
*/
|
|
63
63
|
allowFiltering: boolean;
|
|
64
64
|
/**
|
|
@@ -68,7 +68,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
68
68
|
* {% codeBlock src='combobox/query/index.md' %}{% endcodeBlock %}
|
|
69
69
|
*
|
|
70
70
|
* @default null
|
|
71
|
-
|
|
71
|
+
* @deprecated
|
|
72
72
|
*/
|
|
73
73
|
query: Query;
|
|
74
74
|
/**
|
|
@@ -80,7 +80,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
80
80
|
*
|
|
81
81
|
* @default null
|
|
82
82
|
* @aspType double
|
|
83
|
-
|
|
83
|
+
* @deprecated
|
|
84
84
|
*/
|
|
85
85
|
index: number | null;
|
|
86
86
|
/**
|
|
@@ -94,7 +94,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
94
94
|
* Enable or disable rendering component in right to left direction.
|
|
95
95
|
*
|
|
96
96
|
* @default false
|
|
97
|
-
|
|
97
|
+
* @deprecated
|
|
98
98
|
*/
|
|
99
99
|
enableRtl: boolean;
|
|
100
100
|
/**
|
|
@@ -133,7 +133,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
133
133
|
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
134
134
|
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
135
135
|
* @isEnumeration true
|
|
136
|
-
|
|
136
|
+
* @deprecated
|
|
137
137
|
*/
|
|
138
138
|
floatLabelType: FloatLabelType;
|
|
139
139
|
/**
|
|
@@ -141,14 +141,14 @@ export declare class ComboBox extends DropDownList {
|
|
|
141
141
|
*
|
|
142
142
|
* @default null
|
|
143
143
|
* @private
|
|
144
|
-
|
|
144
|
+
* @deprecated
|
|
145
145
|
*/
|
|
146
146
|
filterBarPlaceholder: string;
|
|
147
147
|
/**
|
|
148
148
|
* Sets CSS classes to the root element of the component that allows customization of appearance.
|
|
149
149
|
*
|
|
150
150
|
* @default null
|
|
151
|
-
|
|
151
|
+
* @deprecated
|
|
152
152
|
*/
|
|
153
153
|
cssClass: string;
|
|
154
154
|
/**
|
|
@@ -157,7 +157,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
157
157
|
*
|
|
158
158
|
* @default null
|
|
159
159
|
* @aspType string
|
|
160
|
-
|
|
160
|
+
* @deprecated
|
|
161
161
|
*/
|
|
162
162
|
headerTemplate: string | Function;
|
|
163
163
|
/**
|
|
@@ -166,14 +166,14 @@ export declare class ComboBox extends DropDownList {
|
|
|
166
166
|
*
|
|
167
167
|
* @default null
|
|
168
168
|
* @aspType string
|
|
169
|
-
|
|
169
|
+
* @deprecated
|
|
170
170
|
*/
|
|
171
171
|
footerTemplate: string | Function;
|
|
172
172
|
/**
|
|
173
173
|
* Specifies a short hint that describes the expected value of the DropDownList component.
|
|
174
174
|
*
|
|
175
175
|
* @default null
|
|
176
|
-
|
|
176
|
+
* @deprecated
|
|
177
177
|
*/
|
|
178
178
|
placeholder: string;
|
|
179
179
|
/**
|
|
@@ -182,7 +182,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
182
182
|
*
|
|
183
183
|
* @default '100%'
|
|
184
184
|
* @aspType string
|
|
185
|
-
|
|
185
|
+
* @deprecated
|
|
186
186
|
*/
|
|
187
187
|
width: string | number;
|
|
188
188
|
/**
|
|
@@ -192,7 +192,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
192
192
|
*
|
|
193
193
|
* @default '300px'
|
|
194
194
|
* @aspType string
|
|
195
|
-
|
|
195
|
+
* @deprecated
|
|
196
196
|
*/
|
|
197
197
|
popupHeight: string | number;
|
|
198
198
|
/**
|
|
@@ -203,14 +203,14 @@ export declare class ComboBox extends DropDownList {
|
|
|
203
203
|
*
|
|
204
204
|
* @default '100%'
|
|
205
205
|
* @aspType string
|
|
206
|
-
|
|
206
|
+
* @deprecated
|
|
207
207
|
*/
|
|
208
208
|
popupWidth: string | number;
|
|
209
209
|
/**
|
|
210
210
|
* When set to true, the user interactions on the component are disabled.
|
|
211
211
|
*
|
|
212
212
|
* @default false
|
|
213
|
-
|
|
213
|
+
* @deprecated
|
|
214
214
|
*/
|
|
215
215
|
readonly: boolean;
|
|
216
216
|
/**
|
|
@@ -218,7 +218,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
218
218
|
*
|
|
219
219
|
* @default null
|
|
220
220
|
* @aspType string
|
|
221
|
-
|
|
221
|
+
* @deprecated
|
|
222
222
|
*/
|
|
223
223
|
text: string | null;
|
|
224
224
|
/**
|
|
@@ -226,7 +226,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
226
226
|
*
|
|
227
227
|
* @default null
|
|
228
228
|
* @isGenericType true
|
|
229
|
-
|
|
229
|
+
* @deprecated
|
|
230
230
|
*/
|
|
231
231
|
value: number | string | boolean | object | null;
|
|
232
232
|
/**
|
|
@@ -276,14 +276,14 @@ export declare class ComboBox extends DropDownList {
|
|
|
276
276
|
* Shows the spinner loader.
|
|
277
277
|
*
|
|
278
278
|
* @returns {void}
|
|
279
|
-
|
|
279
|
+
* @deprecated
|
|
280
280
|
*/
|
|
281
281
|
showSpinner(): void;
|
|
282
282
|
/**
|
|
283
283
|
* Hides the spinner loader.
|
|
284
284
|
*
|
|
285
285
|
* @returns {void}
|
|
286
|
-
|
|
286
|
+
* @deprecated
|
|
287
287
|
*/
|
|
288
288
|
hideSpinner(): void;
|
|
289
289
|
protected setAutoFill(activeElement: Element, isHover?: boolean): void;
|
|
@@ -332,7 +332,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
332
332
|
* @param { Object[] } items - Specifies an array of JSON data or a JSON data.
|
|
333
333
|
* @param { number } itemIndex - Specifies the index to place the newly added item in the popup list.
|
|
334
334
|
* @returns {void}
|
|
335
|
-
|
|
335
|
+
* @deprecated
|
|
336
336
|
*/
|
|
337
337
|
addItem(items: {
|
|
338
338
|
[key: string]: Object;
|
|
@@ -346,7 +346,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
346
346
|
* @param {Query} query - Specify the query to filter the data.
|
|
347
347
|
* @param {FieldSettingsModel} fields - Specify the fields to map the column in the data table.
|
|
348
348
|
* @returns {void}
|
|
349
|
-
|
|
349
|
+
* @deprecated
|
|
350
350
|
*/
|
|
351
351
|
filter(dataSource: {
|
|
352
352
|
[key: string]: Object;
|
|
@@ -355,14 +355,14 @@ export declare class ComboBox extends DropDownList {
|
|
|
355
355
|
* Opens the popup that displays the list of items.
|
|
356
356
|
*
|
|
357
357
|
* @returns {void}
|
|
358
|
-
|
|
358
|
+
* @deprecated
|
|
359
359
|
*/
|
|
360
360
|
showPopup(e?: MouseEvent | KeyboardEventArgs | TouchEvent): void;
|
|
361
361
|
/**
|
|
362
362
|
* Hides the popup if it is in open state.
|
|
363
363
|
*
|
|
364
364
|
* @returns {void}
|
|
365
|
-
|
|
365
|
+
* @deprecated
|
|
366
366
|
*/
|
|
367
367
|
hidePopup(e?: MouseEvent | KeyboardEventArgs | TouchEvent): void;
|
|
368
368
|
/**
|
|
@@ -375,21 +375,21 @@ export declare class ComboBox extends DropDownList {
|
|
|
375
375
|
* Allows you to clear the selected values from the component.
|
|
376
376
|
*
|
|
377
377
|
* @returns {void}
|
|
378
|
-
|
|
378
|
+
* @deprecated
|
|
379
379
|
*/
|
|
380
380
|
clear(): void;
|
|
381
381
|
/**
|
|
382
382
|
* Moves the focus from the component if the component is already focused.
|
|
383
383
|
*
|
|
384
384
|
* @returns {void}
|
|
385
|
-
|
|
385
|
+
* @deprecated
|
|
386
386
|
*/
|
|
387
387
|
focusOut(e?: MouseEvent | KeyboardEventArgs): void;
|
|
388
388
|
/**
|
|
389
389
|
* Gets all the list items bound on this component.
|
|
390
390
|
*
|
|
391
391
|
* @returns {Element[]}
|
|
392
|
-
|
|
392
|
+
* @deprecated
|
|
393
393
|
*/
|
|
394
394
|
getItems(): Element[];
|
|
395
395
|
/**
|
|
@@ -397,7 +397,7 @@ export declare class ComboBox extends DropDownList {
|
|
|
397
397
|
*
|
|
398
398
|
* @param { string | number } value - Specifies the value of the list item.
|
|
399
399
|
* @returns {Object}
|
|
400
|
-
|
|
400
|
+
* @deprecated
|
|
401
401
|
*/
|
|
402
402
|
getDataByValue(value: string | number | boolean): {
|
|
403
403
|
[key: string]: Object;
|
|
@@ -400,7 +400,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
400
400
|
* Shows the spinner loader.
|
|
401
401
|
*
|
|
402
402
|
* @returns {void}
|
|
403
|
-
|
|
403
|
+
* @deprecated
|
|
404
404
|
*/
|
|
405
405
|
ComboBox.prototype.showSpinner = function () {
|
|
406
406
|
if (isNullOrUndefined(this.spinnerElement)) {
|
|
@@ -420,7 +420,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
420
420
|
* Hides the spinner loader.
|
|
421
421
|
*
|
|
422
422
|
* @returns {void}
|
|
423
|
-
|
|
423
|
+
* @deprecated
|
|
424
424
|
*/
|
|
425
425
|
ComboBox.prototype.hideSpinner = function () {
|
|
426
426
|
if (!isNullOrUndefined(this.spinnerElement)) {
|
|
@@ -775,7 +775,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
775
775
|
* @param { Object[] } items - Specifies an array of JSON data or a JSON data.
|
|
776
776
|
* @param { number } itemIndex - Specifies the index to place the newly added item in the popup list.
|
|
777
777
|
* @returns {void}
|
|
778
|
-
|
|
778
|
+
* @deprecated
|
|
779
779
|
*/
|
|
780
780
|
ComboBox.prototype.addItem = function (items, itemIndex) {
|
|
781
781
|
_super.prototype.addItem.call(this, items, itemIndex);
|
|
@@ -787,7 +787,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
787
787
|
* @param {Query} query - Specify the query to filter the data.
|
|
788
788
|
* @param {FieldSettingsModel} fields - Specify the fields to map the column in the data table.
|
|
789
789
|
* @returns {void}
|
|
790
|
-
|
|
790
|
+
* @deprecated
|
|
791
791
|
*/
|
|
792
792
|
ComboBox.prototype.filter = function (dataSource, query, fields) {
|
|
793
793
|
_super.prototype.filter.call(this, dataSource, query, fields);
|
|
@@ -797,7 +797,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
797
797
|
* Opens the popup that displays the list of items.
|
|
798
798
|
*
|
|
799
799
|
* @returns {void}
|
|
800
|
-
|
|
800
|
+
* @deprecated
|
|
801
801
|
*/
|
|
802
802
|
ComboBox.prototype.showPopup = function (e) {
|
|
803
803
|
/* eslint-enable valid-jsdoc, jsdoc/require-param */
|
|
@@ -808,7 +808,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
808
808
|
* Hides the popup if it is in open state.
|
|
809
809
|
*
|
|
810
810
|
* @returns {void}
|
|
811
|
-
|
|
811
|
+
* @deprecated
|
|
812
812
|
*/
|
|
813
813
|
ComboBox.prototype.hidePopup = function (e) {
|
|
814
814
|
/* eslint-enable valid-jsdoc, jsdoc/require-param */
|
|
@@ -878,7 +878,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
878
878
|
* Allows you to clear the selected values from the component.
|
|
879
879
|
*
|
|
880
880
|
* @returns {void}
|
|
881
|
-
|
|
881
|
+
* @deprecated
|
|
882
882
|
*/
|
|
883
883
|
ComboBox.prototype.clear = function () {
|
|
884
884
|
this.value = null;
|
|
@@ -888,7 +888,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
888
888
|
* Moves the focus from the component if the component is already focused.
|
|
889
889
|
*
|
|
890
890
|
* @returns {void}
|
|
891
|
-
|
|
891
|
+
* @deprecated
|
|
892
892
|
*/
|
|
893
893
|
ComboBox.prototype.focusOut = function (e) {
|
|
894
894
|
/* eslint-enable valid-jsdoc, jsdoc/require-param */
|
|
@@ -899,7 +899,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
899
899
|
* Gets all the list items bound on this component.
|
|
900
900
|
*
|
|
901
901
|
* @returns {Element[]}
|
|
902
|
-
|
|
902
|
+
* @deprecated
|
|
903
903
|
*/
|
|
904
904
|
ComboBox.prototype.getItems = function () {
|
|
905
905
|
return _super.prototype.getItems.call(this);
|
|
@@ -909,7 +909,7 @@ var ComboBox = /** @class */ (function (_super) {
|
|
|
909
909
|
*
|
|
910
910
|
* @param { string | number } value - Specifies the value of the list item.
|
|
911
911
|
* @returns {Object}
|
|
912
|
-
|
|
912
|
+
* @deprecated
|
|
913
913
|
*/
|
|
914
914
|
ComboBox.prototype.getDataByValue = function (value) {
|
|
915
915
|
return _super.prototype.getDataByValue.call(this, value);
|
|
@@ -70,7 +70,7 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
70
70
|
* ```
|
|
71
71
|
*
|
|
72
72
|
* @default {text: null, value: null, iconCss: null, groupBy: null}
|
|
73
|
-
|
|
73
|
+
* @deprecated
|
|
74
74
|
*/
|
|
75
75
|
fields?: FieldSettingsModel;
|
|
76
76
|
|
|
@@ -83,7 +83,7 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
83
83
|
*
|
|
84
84
|
* @default null
|
|
85
85
|
* @aspType string
|
|
86
|
-
|
|
86
|
+
* @deprecated
|
|
87
87
|
*/
|
|
88
88
|
itemTemplate?: string | Function;
|
|
89
89
|
|
|
@@ -92,7 +92,7 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
92
92
|
*
|
|
93
93
|
* @default null
|
|
94
94
|
* @aspType string
|
|
95
|
-
|
|
95
|
+
* @deprecated
|
|
96
96
|
*/
|
|
97
97
|
groupTemplate?: string | Function;
|
|
98
98
|
|
|
@@ -102,7 +102,7 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
102
102
|
*
|
|
103
103
|
* @default 'No records found'
|
|
104
104
|
* @aspType string
|
|
105
|
-
|
|
105
|
+
* @deprecated
|
|
106
106
|
*/
|
|
107
107
|
noRecordsTemplate?: string | Function;
|
|
108
108
|
|
|
@@ -112,7 +112,7 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
112
112
|
*
|
|
113
113
|
* @default 'Request failed'
|
|
114
114
|
* @aspType string
|
|
115
|
-
|
|
115
|
+
* @deprecated
|
|
116
116
|
*/
|
|
117
117
|
actionFailureTemplate?: string | Function;
|
|
118
118
|
|
|
@@ -125,7 +125,7 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
125
125
|
* @default null
|
|
126
126
|
* @asptype object
|
|
127
127
|
* @aspjsonconverterignore
|
|
128
|
-
|
|
128
|
+
* @deprecated
|
|
129
129
|
*/
|
|
130
130
|
sortOrder?: SortOrder;
|
|
131
131
|
|
|
@@ -135,7 +135,7 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
135
135
|
* `DataManager`.
|
|
136
136
|
*
|
|
137
137
|
* @default []
|
|
138
|
-
|
|
138
|
+
* @deprecated
|
|
139
139
|
*/
|
|
140
140
|
dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
|
|
141
141
|
|
|
@@ -144,7 +144,7 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
144
144
|
* which will execute along with the data processing.
|
|
145
145
|
*
|
|
146
146
|
* @default null
|
|
147
|
-
|
|
147
|
+
* @deprecated
|
|
148
148
|
*/
|
|
149
149
|
query?: Query;
|
|
150
150
|
|
|
@@ -178,7 +178,7 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
178
178
|
* The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
179
179
|
*
|
|
180
180
|
* @default 'StartsWith'
|
|
181
|
-
|
|
181
|
+
* @deprecated
|
|
182
182
|
*/
|
|
183
183
|
filterType?: FilterType;
|
|
184
184
|
|
|
@@ -187,7 +187,7 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
187
187
|
* By default consider the casing.
|
|
188
188
|
*
|
|
189
189
|
* @default true
|
|
190
|
-
|
|
190
|
+
* @deprecated
|
|
191
191
|
*/
|
|
192
192
|
ignoreCase?: boolean;
|
|
193
193
|
|
|
@@ -195,14 +195,14 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
195
195
|
* specifies the z-index value of the component popup element.
|
|
196
196
|
*
|
|
197
197
|
* @default 1000
|
|
198
|
-
|
|
198
|
+
* @deprecated
|
|
199
199
|
*/
|
|
200
200
|
zIndex?: number;
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
|
|
204
204
|
*
|
|
205
|
-
|
|
205
|
+
* @deprecated
|
|
206
206
|
*/
|
|
207
207
|
ignoreAccent?: boolean;
|
|
208
208
|
|
|
@@ -210,7 +210,7 @@ export interface DropDownBaseModel extends ComponentModel{
|
|
|
210
210
|
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
211
211
|
*
|
|
212
212
|
* @default 'en-US'
|
|
213
|
-
|
|
213
|
+
* @deprecated
|
|
214
214
|
*/
|
|
215
215
|
locale?: string;
|
|
216
216
|
|
|
@@ -311,7 +311,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
311
311
|
* ```
|
|
312
312
|
*
|
|
313
313
|
* @default {text: null, value: null, iconCss: null, groupBy: null}
|
|
314
|
-
|
|
314
|
+
* @deprecated
|
|
315
315
|
*/
|
|
316
316
|
fields: FieldSettingsModel;
|
|
317
317
|
/**
|
|
@@ -323,7 +323,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
323
323
|
*
|
|
324
324
|
* @default null
|
|
325
325
|
* @aspType string
|
|
326
|
-
|
|
326
|
+
* @deprecated
|
|
327
327
|
*/
|
|
328
328
|
itemTemplate: string | Function;
|
|
329
329
|
/**
|
|
@@ -331,7 +331,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
331
331
|
*
|
|
332
332
|
* @default null
|
|
333
333
|
* @aspType string
|
|
334
|
-
|
|
334
|
+
* @deprecated
|
|
335
335
|
*/
|
|
336
336
|
groupTemplate: string | Function;
|
|
337
337
|
/**
|
|
@@ -340,7 +340,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
340
340
|
*
|
|
341
341
|
* @default 'No records found'
|
|
342
342
|
* @aspType string
|
|
343
|
-
|
|
343
|
+
* @deprecated
|
|
344
344
|
*/
|
|
345
345
|
noRecordsTemplate: string | Function;
|
|
346
346
|
/**
|
|
@@ -349,7 +349,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
349
349
|
*
|
|
350
350
|
* @default 'Request failed'
|
|
351
351
|
* @aspType string
|
|
352
|
-
|
|
352
|
+
* @deprecated
|
|
353
353
|
*/
|
|
354
354
|
actionFailureTemplate: string | Function;
|
|
355
355
|
/**
|
|
@@ -361,7 +361,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
361
361
|
* @default null
|
|
362
362
|
* @asptype object
|
|
363
363
|
* @aspjsonconverterignore
|
|
364
|
-
|
|
364
|
+
* @deprecated
|
|
365
365
|
*/
|
|
366
366
|
sortOrder: SortOrder;
|
|
367
367
|
/**
|
|
@@ -370,7 +370,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
370
370
|
* `DataManager`.
|
|
371
371
|
*
|
|
372
372
|
* @default []
|
|
373
|
-
|
|
373
|
+
* @deprecated
|
|
374
374
|
*/
|
|
375
375
|
dataSource: {
|
|
376
376
|
[key: string]: Object;
|
|
@@ -380,7 +380,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
380
380
|
* which will execute along with the data processing.
|
|
381
381
|
*
|
|
382
382
|
* @default null
|
|
383
|
-
|
|
383
|
+
* @deprecated
|
|
384
384
|
*/
|
|
385
385
|
query: Query;
|
|
386
386
|
/**
|
|
@@ -413,7 +413,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
413
413
|
* The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
414
414
|
*
|
|
415
415
|
* @default 'StartsWith'
|
|
416
|
-
|
|
416
|
+
* @deprecated
|
|
417
417
|
*/
|
|
418
418
|
filterType: FilterType;
|
|
419
419
|
/**
|
|
@@ -421,27 +421,27 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
421
421
|
* By default consider the casing.
|
|
422
422
|
*
|
|
423
423
|
* @default true
|
|
424
|
-
|
|
424
|
+
* @deprecated
|
|
425
425
|
*/
|
|
426
426
|
ignoreCase: boolean;
|
|
427
427
|
/**
|
|
428
428
|
* specifies the z-index value of the component popup element.
|
|
429
429
|
*
|
|
430
430
|
* @default 1000
|
|
431
|
-
|
|
431
|
+
* @deprecated
|
|
432
432
|
*/
|
|
433
433
|
zIndex: number;
|
|
434
434
|
/**
|
|
435
435
|
* ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
|
|
436
436
|
*
|
|
437
|
-
|
|
437
|
+
* @deprecated
|
|
438
438
|
*/
|
|
439
439
|
ignoreAccent: boolean;
|
|
440
440
|
/**
|
|
441
441
|
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
442
442
|
*
|
|
443
443
|
* @default 'en-US'
|
|
444
|
-
|
|
444
|
+
* @deprecated
|
|
445
445
|
*/
|
|
446
446
|
locale: string;
|
|
447
447
|
/**
|
|
@@ -729,7 +729,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
729
729
|
* @param { Object[] } items - Specifies an array of JSON data or a JSON data.
|
|
730
730
|
* @param { number } itemIndex - Specifies the index to place the newly added item in the popup list.
|
|
731
731
|
* @returns {void}
|
|
732
|
-
|
|
732
|
+
* @deprecated
|
|
733
733
|
*/
|
|
734
734
|
addItem(items: {
|
|
735
735
|
[key: string]: Object;
|
|
@@ -801,7 +801,7 @@ export interface PopupEventArgs {
|
|
|
801
801
|
/**
|
|
802
802
|
* Specifies the popup Object.
|
|
803
803
|
*
|
|
804
|
-
|
|
804
|
+
* @deprecated
|
|
805
805
|
*/
|
|
806
806
|
popup: Popup;
|
|
807
807
|
/**
|
|
@@ -1575,7 +1575,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1575
1575
|
* @param { Object[] } items - Specifies an array of JSON data or a JSON data.
|
|
1576
1576
|
* @param { number } itemIndex - Specifies the index to place the newly added item in the popup list.
|
|
1577
1577
|
* @returns {void}
|
|
1578
|
-
|
|
1578
|
+
* @deprecated
|
|
1579
1579
|
*/
|
|
1580
1580
|
DropDownBase.prototype.addItem = function (items, itemIndex) {
|
|
1581
1581
|
if (!this.list || (this.list.textContent === this.noRecordsTemplate && this.getModuleName() !== 'listbox')) {
|
|
@@ -27,7 +27,7 @@ export interface DropDownListModel extends DropDownBaseModel{
|
|
|
27
27
|
* Specifies a value that indicates whether the component is enabled or not.
|
|
28
28
|
*
|
|
29
29
|
* @default true
|
|
30
|
-
|
|
30
|
+
* @deprecated
|
|
31
31
|
*/
|
|
32
32
|
enabled?: boolean;
|
|
33
33
|
|
|
@@ -37,7 +37,7 @@ export interface DropDownListModel extends DropDownBaseModel{
|
|
|
37
37
|
* 1. value
|
|
38
38
|
*
|
|
39
39
|
* @default false
|
|
40
|
-
|
|
40
|
+
* @deprecated
|
|
41
41
|
*/
|
|
42
42
|
enablePersistence?: boolean;
|
|
43
43
|
|
|
@@ -93,7 +93,7 @@ export interface DropDownListModel extends DropDownBaseModel{
|
|
|
93
93
|
* {% codeBlock src='dropdownlist/query/index.md' %}{% endcodeBlock %}
|
|
94
94
|
*
|
|
95
95
|
* @default null
|
|
96
|
-
|
|
96
|
+
* @deprecated
|
|
97
97
|
*/
|
|
98
98
|
query?: Query;
|
|
99
99
|
|
|
@@ -127,7 +127,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
127
127
|
* Specifies a value that indicates whether the component is enabled or not.
|
|
128
128
|
*
|
|
129
129
|
* @default true
|
|
130
|
-
|
|
130
|
+
* @deprecated
|
|
131
131
|
*/
|
|
132
132
|
enabled: boolean;
|
|
133
133
|
/**
|
|
@@ -136,7 +136,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
136
136
|
* 1. value
|
|
137
137
|
*
|
|
138
138
|
* @default false
|
|
139
|
-
|
|
139
|
+
* @deprecated
|
|
140
140
|
*/
|
|
141
141
|
enablePersistence: boolean;
|
|
142
142
|
/**
|
|
@@ -188,7 +188,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
188
188
|
* {% codeBlock src='dropdownlist/query/index.md' %}{% endcodeBlock %}
|
|
189
189
|
*
|
|
190
190
|
* @default null
|
|
191
|
-
|
|
191
|
+
* @deprecated
|
|
192
192
|
*/
|
|
193
193
|
query: Query;
|
|
194
194
|
/**
|
|
@@ -498,7 +498,7 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
498
498
|
* @param {Query} query - Specify the query to filter the data.
|
|
499
499
|
* @param {FieldSettingsModel} fields - Specify the fields to map the column in the data table.
|
|
500
500
|
* @returns {void}
|
|
501
|
-
|
|
501
|
+
* @deprecated
|
|
502
502
|
*/
|
|
503
503
|
filter(dataSource: {
|
|
504
504
|
[key: string]: Object;
|
|
@@ -620,7 +620,6 @@ export declare class DropDownList extends DropDownBase implements IInput {
|
|
|
620
620
|
* @returns {void}
|
|
621
621
|
*/
|
|
622
622
|
focusOut(e?: MouseEvent | KeyboardEventArgs): void;
|
|
623
|
-
removeAllChildren: (element: any) => void;
|
|
624
623
|
/**
|
|
625
624
|
* Removes the component from the DOM and detaches all its related event handlers. Also it removes the attributes and classes.
|
|
626
625
|
*
|
|
@@ -93,12 +93,6 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
93
93
|
_this.IsScrollerAtEnd = function () {
|
|
94
94
|
return this.list && this.list.scrollTop + this.list.clientHeight >= this.list.scrollHeight;
|
|
95
95
|
};
|
|
96
|
-
_this.removeAllChildren = function (element) {
|
|
97
|
-
while (element.children[0]) {
|
|
98
|
-
this.removeAllChildren(element.children[0]);
|
|
99
|
-
element.removeChild(element.children[0]);
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
96
|
return _this;
|
|
103
97
|
}
|
|
104
98
|
/**
|
|
@@ -1870,7 +1864,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
1870
1864
|
* @param {Query} query - Specify the query to filter the data.
|
|
1871
1865
|
* @param {FieldSettingsModel} fields - Specify the fields to map the column in the data table.
|
|
1872
1866
|
* @returns {void}
|
|
1873
|
-
|
|
1867
|
+
* @deprecated
|
|
1874
1868
|
*/
|
|
1875
1869
|
DropDownList.prototype.filter = function (dataSource, query, fields) {
|
|
1876
1870
|
this.isCustomFilter = true;
|
|
@@ -3838,9 +3832,6 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
3838
3832
|
delete this.hiddenElement;
|
|
3839
3833
|
this.filterInput = null;
|
|
3840
3834
|
this.keyboardModule = null;
|
|
3841
|
-
if (!isNullOrUndefined(this.ulElement)) {
|
|
3842
|
-
this.removeAllChildren(this.ulElement);
|
|
3843
|
-
}
|
|
3844
3835
|
this.ulElement = null;
|
|
3845
3836
|
this.list = null;
|
|
3846
3837
|
this.clearIconElement = null;
|
|
@@ -395,7 +395,7 @@ export interface DropDownTreeModel extends ComponentModel{
|
|
|
395
395
|
* When this property is set to false, then the popup will not be removed from DOM once it is closed.
|
|
396
396
|
*
|
|
397
397
|
* @default true
|
|
398
|
-
|
|
398
|
+
* @deprecated
|
|
399
399
|
*/
|
|
400
400
|
destroyPopupOnHide?: boolean;
|
|
401
401
|
|
|
@@ -560,7 +560,7 @@ export declare class DropDownTree extends Component<HTMLElement> implements INot
|
|
|
560
560
|
* When this property is set to false, then the popup will not be removed from DOM once it is closed.
|
|
561
561
|
*
|
|
562
562
|
* @default true
|
|
563
|
-
|
|
563
|
+
* @deprecated
|
|
564
564
|
*/
|
|
565
565
|
destroyPopupOnHide: boolean;
|
|
566
566
|
/**
|