@syncfusion/ej2-dropdowns 29.2.10 → 29.2.11-81740
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{README.md → ReadMe.md} +217 -217
- 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 +134 -85
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +293 -242
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- 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 +29 -27
- package/src/multi-select/multi-select-model.d.ts +564 -564
- package/src/multi-select/multi-select.d.ts +2 -1
- package/src/multi-select/multi-select.js +90 -41
- 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/.eslintrc.json +0 -261
- package/dist/ej2-dropdowns.min.js +0 -10
- package/dist/global/ej2-dropdowns.min.js +0 -11
- package/dist/global/ej2-dropdowns.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/helpers/e2e/autocomplete.d.ts +0 -16
- package/helpers/e2e/autocomplete.js +0 -60
- package/helpers/e2e/combobox.d.ts +0 -17
- package/helpers/e2e/combobox.js +0 -63
- package/helpers/e2e/dropdownlist.d.ts +0 -20
- package/helpers/e2e/dropdownlist.js +0 -72
- package/helpers/e2e/index.d.ts +0 -4
- package/helpers/e2e/index.js +0 -11
- package/helpers/e2e/listboxHelper.d.ts +0 -22
- package/helpers/e2e/listboxHelper.js +0 -56
- package/helpers/e2e/multiselect.d.ts +0 -31
- package/helpers/e2e/multiselect.js +0 -105
- package/tslint.json +0 -111
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, EventHandler, addClass, append, Property, Event, KeyboardEvents, EmitType, L10n, compile, KeyboardEventArgs } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Component, EventHandler, addClass, append, Property, Event, KeyboardEvents, EmitType, L10n, compile, KeyboardEventArgs } from '@syncfusion/ej2-base';
|
|
2
2
|
import {FilterType,SelectEventArgs} from "./drop-down-base";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -8,47 +8,47 @@ import {ComponentModel} from '@syncfusion/ej2-base';
|
|
|
8
8
|
export interface FieldSettingsModel {
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Maps the text column from data table for each list item
|
|
12
|
-
*
|
|
13
|
-
* @default null
|
|
14
|
-
*/
|
|
15
|
-
text?: string;
|
|
11
|
+
* Maps the text column from data table for each list item
|
|
12
|
+
*
|
|
13
|
+
* @default null
|
|
14
|
+
*/
|
|
15
|
+
text?: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Maps the value column from data table for each list item
|
|
19
|
-
*
|
|
20
|
-
* @default null
|
|
21
|
-
*/
|
|
22
|
-
value?: string;
|
|
18
|
+
* Maps the value column from data table for each list item
|
|
19
|
+
*
|
|
20
|
+
* @default null
|
|
21
|
+
*/
|
|
22
|
+
value?: string;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Maps the icon class column from data table for each list item.
|
|
26
|
-
*
|
|
27
|
-
* @default null
|
|
28
|
-
*/
|
|
29
|
-
iconCss?: string;
|
|
25
|
+
* Maps the icon class column from data table for each list item.
|
|
26
|
+
*
|
|
27
|
+
* @default null
|
|
28
|
+
*/
|
|
29
|
+
iconCss?: string;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Group the list items with it's related items by mapping groupBy field.
|
|
33
|
-
*
|
|
34
|
-
* @default null
|
|
35
|
-
*/
|
|
36
|
-
groupBy?: string;
|
|
32
|
+
* Group the list items with it's related items by mapping groupBy field.
|
|
33
|
+
*
|
|
34
|
+
* @default null
|
|
35
|
+
*/
|
|
36
|
+
groupBy?: string;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* Allows additional attributes such as title, disabled, etc., to configure the elements
|
|
40
|
-
* in various ways to meet the criteria.
|
|
41
|
-
*
|
|
42
|
-
* @default null
|
|
43
|
-
*/
|
|
44
|
-
htmlAttributes?: string;
|
|
39
|
+
* Allows additional attributes such as title, disabled, etc., to configure the elements
|
|
40
|
+
* in various ways to meet the criteria.
|
|
41
|
+
*
|
|
42
|
+
* @default null
|
|
43
|
+
*/
|
|
44
|
+
htmlAttributes?: string;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* Defines whether the particular field value is disabled or not.
|
|
48
|
-
*
|
|
49
|
-
* @default null
|
|
50
|
-
*/
|
|
51
|
-
disabled?: string;
|
|
47
|
+
* Defines whether the particular field value is disabled or not.
|
|
48
|
+
*
|
|
49
|
+
* @default null
|
|
50
|
+
*/
|
|
51
|
+
disabled?: string;
|
|
52
52
|
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -58,216 +58,216 @@ export interface FieldSettingsModel {
|
|
|
58
58
|
export interface DropDownBaseModel extends ComponentModel{
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* The `fields` property maps the columns of the data table and binds the data to the component.
|
|
62
|
-
* * text - Maps the text column from data table for each list item.
|
|
63
|
-
* * value - Maps the value column from data table for each list item.
|
|
64
|
-
* * iconCss - Maps the icon class column from data table for each list item.
|
|
65
|
-
* * groupBy - Group the list items with it's related items by mapping groupBy field.
|
|
66
|
-
* ```html
|
|
67
|
-
* <input type="text" tabindex="1" id="list"> </input>
|
|
68
|
-
* ```
|
|
69
|
-
* ```typescript
|
|
70
|
-
* let customers: DropDownList = new DropDownList({
|
|
71
|
-
* dataSource:new DataManager({ url:'http://js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/' }),
|
|
72
|
-
* query: new Query().from('Customers').select(['ContactName', 'CustomerID']).take(5),
|
|
73
|
-
* fields: { text: 'ContactName', value: 'CustomerID' },
|
|
74
|
-
* placeholder: 'Select a customer'
|
|
75
|
-
* });
|
|
76
|
-
* customers.appendTo("#list");
|
|
77
|
-
* ```
|
|
78
|
-
*
|
|
79
|
-
* @default {text: null, value: null, iconCss: null, groupBy: null, disabled: null}
|
|
80
|
-
|
|
81
|
-
*/
|
|
82
|
-
fields?: FieldSettingsModel;
|
|
61
|
+
* The `fields` property maps the columns of the data table and binds the data to the component.
|
|
62
|
+
* * text - Maps the text column from data table for each list item.
|
|
63
|
+
* * value - Maps the value column from data table for each list item.
|
|
64
|
+
* * iconCss - Maps the icon class column from data table for each list item.
|
|
65
|
+
* * groupBy - Group the list items with it's related items by mapping groupBy field.
|
|
66
|
+
* ```html
|
|
67
|
+
* <input type="text" tabindex="1" id="list"> </input>
|
|
68
|
+
* ```
|
|
69
|
+
* ```typescript
|
|
70
|
+
* let customers: DropDownList = new DropDownList({
|
|
71
|
+
* dataSource:new DataManager({ url:'http://js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/' }),
|
|
72
|
+
* query: new Query().from('Customers').select(['ContactName', 'CustomerID']).take(5),
|
|
73
|
+
* fields: { text: 'ContactName', value: 'CustomerID' },
|
|
74
|
+
* placeholder: 'Select a customer'
|
|
75
|
+
* });
|
|
76
|
+
* customers.appendTo("#list");
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @default {text: null, value: null, iconCss: null, groupBy: null, disabled: null}
|
|
80
|
+
* @deprecated
|
|
81
|
+
*/
|
|
82
|
+
fields?: FieldSettingsModel;
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
|
-
* Accepts the template design and assigns it to each list item present in the popup.
|
|
86
|
-
* We have built-in `template engine`
|
|
87
|
-
*
|
|
88
|
-
* which provides options to compile template string into a executable function.
|
|
89
|
-
* For EX: We have expression evolution as like ES6 expression string literals.
|
|
90
|
-
*
|
|
91
|
-
* @default null
|
|
92
|
-
* @aspType string
|
|
93
|
-
|
|
94
|
-
*/
|
|
95
|
-
itemTemplate?: string | Function;
|
|
85
|
+
* Accepts the template design and assigns it to each list item present in the popup.
|
|
86
|
+
* We have built-in `template engine`
|
|
87
|
+
*
|
|
88
|
+
* which provides options to compile template string into a executable function.
|
|
89
|
+
* For EX: We have expression evolution as like ES6 expression string literals.
|
|
90
|
+
*
|
|
91
|
+
* @default null
|
|
92
|
+
* @aspType string
|
|
93
|
+
* @deprecated
|
|
94
|
+
*/
|
|
95
|
+
itemTemplate?: string | Function;
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
|
-
* Accepts the template design and assigns it to the group headers present in the popup list.
|
|
99
|
-
*
|
|
100
|
-
* @default null
|
|
101
|
-
* @aspType string
|
|
102
|
-
|
|
103
|
-
*/
|
|
104
|
-
groupTemplate?: string | Function;
|
|
98
|
+
* Accepts the template design and assigns it to the group headers present in the popup list.
|
|
99
|
+
*
|
|
100
|
+
* @default null
|
|
101
|
+
* @aspType string
|
|
102
|
+
* @deprecated
|
|
103
|
+
*/
|
|
104
|
+
groupTemplate?: string | Function;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* Accepts the template design and assigns it to popup list of component
|
|
108
|
-
* when no data is available on the component.
|
|
109
|
-
*
|
|
110
|
-
* @default 'No records found'
|
|
111
|
-
* @aspType string
|
|
112
|
-
|
|
113
|
-
*/
|
|
114
|
-
noRecordsTemplate?: string | Function;
|
|
107
|
+
* Accepts the template design and assigns it to popup list of component
|
|
108
|
+
* when no data is available on the component.
|
|
109
|
+
*
|
|
110
|
+
* @default 'No records found'
|
|
111
|
+
* @aspType string
|
|
112
|
+
* @deprecated
|
|
113
|
+
*/
|
|
114
|
+
noRecordsTemplate?: string | Function;
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
|
-
* Accepts the template and assigns it to the popup list content of the component
|
|
118
|
-
* when the data fetch request from the remote server fails.
|
|
119
|
-
*
|
|
120
|
-
* @default 'Request failed'
|
|
121
|
-
* @aspType string
|
|
122
|
-
|
|
123
|
-
*/
|
|
124
|
-
actionFailureTemplate?: string | Function;
|
|
117
|
+
* Accepts the template and assigns it to the popup list content of the component
|
|
118
|
+
* when the data fetch request from the remote server fails.
|
|
119
|
+
*
|
|
120
|
+
* @default 'Request failed'
|
|
121
|
+
* @aspType string
|
|
122
|
+
* @deprecated
|
|
123
|
+
*/
|
|
124
|
+
actionFailureTemplate?: string | Function;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
|
-
* Specifies the `sortOrder` to sort the data source. The available type of sort orders are
|
|
128
|
-
* * `None` - The data source is not sorting.
|
|
129
|
-
* * `Ascending` - The data source is sorting with ascending order.
|
|
130
|
-
* * `Descending` - The data source is sorting with descending order.
|
|
131
|
-
*
|
|
132
|
-
* @default null
|
|
133
|
-
* @asptype object
|
|
134
|
-
* @aspjsonconverterignore
|
|
135
|
-
|
|
136
|
-
*/
|
|
137
|
-
sortOrder?: SortOrder;
|
|
127
|
+
* Specifies the `sortOrder` to sort the data source. The available type of sort orders are
|
|
128
|
+
* * `None` - The data source is not sorting.
|
|
129
|
+
* * `Ascending` - The data source is sorting with ascending order.
|
|
130
|
+
* * `Descending` - The data source is sorting with descending order.
|
|
131
|
+
*
|
|
132
|
+
* @default null
|
|
133
|
+
* @asptype object
|
|
134
|
+
* @aspjsonconverterignore
|
|
135
|
+
* @deprecated
|
|
136
|
+
*/
|
|
137
|
+
sortOrder?: SortOrder;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
* Accepts the list items either through local or remote service and binds it to the component.
|
|
141
|
-
* It can be an array of JSON Objects or an instance of
|
|
142
|
-
* `DataManager`.
|
|
143
|
-
*
|
|
144
|
-
* @default []
|
|
145
|
-
|
|
146
|
-
*/
|
|
147
|
-
dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
|
|
140
|
+
* Accepts the list items either through local or remote service and binds it to the component.
|
|
141
|
+
* It can be an array of JSON Objects or an instance of
|
|
142
|
+
* `DataManager`.
|
|
143
|
+
*
|
|
144
|
+
* @default []
|
|
145
|
+
* @deprecated
|
|
146
|
+
*/
|
|
147
|
+
dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
|
-
* Accepts the external `Query`
|
|
151
|
-
* which will execute along with the data processing.
|
|
152
|
-
*
|
|
153
|
-
* @default null
|
|
154
|
-
|
|
155
|
-
*/
|
|
156
|
-
query?: Query;
|
|
150
|
+
* Accepts the external `Query`
|
|
151
|
+
* which will execute along with the data processing.
|
|
152
|
+
*
|
|
153
|
+
* @default null
|
|
154
|
+
* @deprecated
|
|
155
|
+
*/
|
|
156
|
+
query?: Query;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
* Determines on which filter type, the component needs to be considered on search action.
|
|
160
|
-
* The `FilterType` and its supported data types are
|
|
161
|
-
*
|
|
162
|
-
* <table>
|
|
163
|
-
* <tr>
|
|
164
|
-
* <td colSpan=1 rowSpan=1>
|
|
165
|
-
* FilterType<br/></td><td colSpan=1 rowSpan=1>
|
|
166
|
-
* Description<br/></td><td colSpan=1 rowSpan=1>
|
|
167
|
-
* Supported Types<br/></td></tr>
|
|
168
|
-
* <tr>
|
|
169
|
-
* <td colSpan=1 rowSpan=1>
|
|
170
|
-
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
171
|
-
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
172
|
-
* String<br/></td></tr>
|
|
173
|
-
* <tr>
|
|
174
|
-
* <td colSpan=1 rowSpan=1>
|
|
175
|
-
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
176
|
-
* Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
177
|
-
* <br/>String<br/></td></tr>
|
|
178
|
-
* <tr>
|
|
179
|
-
* <td colSpan=1 rowSpan=1>
|
|
180
|
-
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
181
|
-
* Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
182
|
-
* <br/>String<br/></td></tr>
|
|
183
|
-
* </table>
|
|
184
|
-
*
|
|
185
|
-
* The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
186
|
-
*
|
|
187
|
-
* @default 'StartsWith'
|
|
188
|
-
|
|
189
|
-
*/
|
|
190
|
-
filterType?: FilterType;
|
|
159
|
+
* Determines on which filter type, the component needs to be considered on search action.
|
|
160
|
+
* The `FilterType` and its supported data types are
|
|
161
|
+
*
|
|
162
|
+
* <table>
|
|
163
|
+
* <tr>
|
|
164
|
+
* <td colSpan=1 rowSpan=1>
|
|
165
|
+
* FilterType<br/></td><td colSpan=1 rowSpan=1>
|
|
166
|
+
* Description<br/></td><td colSpan=1 rowSpan=1>
|
|
167
|
+
* Supported Types<br/></td></tr>
|
|
168
|
+
* <tr>
|
|
169
|
+
* <td colSpan=1 rowSpan=1>
|
|
170
|
+
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
171
|
+
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
172
|
+
* String<br/></td></tr>
|
|
173
|
+
* <tr>
|
|
174
|
+
* <td colSpan=1 rowSpan=1>
|
|
175
|
+
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
176
|
+
* Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
177
|
+
* <br/>String<br/></td></tr>
|
|
178
|
+
* <tr>
|
|
179
|
+
* <td colSpan=1 rowSpan=1>
|
|
180
|
+
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
181
|
+
* Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
182
|
+
* <br/>String<br/></td></tr>
|
|
183
|
+
* </table>
|
|
184
|
+
*
|
|
185
|
+
* The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
186
|
+
*
|
|
187
|
+
* @default 'StartsWith'
|
|
188
|
+
* @deprecated
|
|
189
|
+
*/
|
|
190
|
+
filterType?: FilterType;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
|
-
* When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions.
|
|
194
|
-
* By default consider the casing.
|
|
195
|
-
*
|
|
196
|
-
* @default true
|
|
197
|
-
|
|
198
|
-
*/
|
|
199
|
-
ignoreCase?: boolean;
|
|
193
|
+
* When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions.
|
|
194
|
+
* By default consider the casing.
|
|
195
|
+
*
|
|
196
|
+
* @default true
|
|
197
|
+
* @deprecated
|
|
198
|
+
*/
|
|
199
|
+
ignoreCase?: boolean;
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
|
-
* specifies the z-index value of the component popup element.
|
|
203
|
-
*
|
|
204
|
-
* @default 1000
|
|
205
|
-
|
|
206
|
-
*/
|
|
207
|
-
zIndex?: number;
|
|
202
|
+
* specifies the z-index value of the component popup element.
|
|
203
|
+
*
|
|
204
|
+
* @default 1000
|
|
205
|
+
* @deprecated
|
|
206
|
+
*/
|
|
207
|
+
zIndex?: number;
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
|
-
* ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
|
|
211
|
-
*
|
|
212
|
-
|
|
213
|
-
*/
|
|
214
|
-
ignoreAccent?: boolean;
|
|
210
|
+
* ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
|
|
211
|
+
*
|
|
212
|
+
* @deprecated
|
|
213
|
+
*/
|
|
214
|
+
ignoreAccent?: boolean;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
218
|
-
*
|
|
219
|
-
* @default 'en-US'
|
|
220
|
-
|
|
221
|
-
*/
|
|
222
|
-
locale?: string;
|
|
217
|
+
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
218
|
+
*
|
|
219
|
+
* @default 'en-US'
|
|
220
|
+
* @deprecated
|
|
221
|
+
*/
|
|
222
|
+
locale?: string;
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
|
-
* Triggers before fetching data from the remote server.
|
|
226
|
-
*
|
|
227
|
-
* @event actionBegin
|
|
228
|
-
*/
|
|
229
|
-
actionBegin?: EmitType<Object>;
|
|
225
|
+
* Triggers before fetching data from the remote server.
|
|
226
|
+
*
|
|
227
|
+
* @event actionBegin
|
|
228
|
+
*/
|
|
229
|
+
actionBegin?: EmitType<Object>;
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
|
-
* Triggers after data is fetched successfully from the remote server.
|
|
233
|
-
*
|
|
234
|
-
* @event actionComplete
|
|
235
|
-
*/
|
|
236
|
-
actionComplete?: EmitType<Object>;
|
|
232
|
+
* Triggers after data is fetched successfully from the remote server.
|
|
233
|
+
*
|
|
234
|
+
* @event actionComplete
|
|
235
|
+
*/
|
|
236
|
+
actionComplete?: EmitType<Object>;
|
|
237
237
|
|
|
238
238
|
/**
|
|
239
|
-
* Triggers when the data fetch request from the remote server fails.
|
|
240
|
-
*
|
|
241
|
-
* @event actionFailure
|
|
242
|
-
*/
|
|
243
|
-
actionFailure?: EmitType<Object>;
|
|
239
|
+
* Triggers when the data fetch request from the remote server fails.
|
|
240
|
+
*
|
|
241
|
+
* @event actionFailure
|
|
242
|
+
*/
|
|
243
|
+
actionFailure?: EmitType<Object>;
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
|
-
* Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
247
|
-
*
|
|
248
|
-
* @event select
|
|
249
|
-
*/
|
|
250
|
-
select?: EmitType<SelectEventArgs>;
|
|
246
|
+
* Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
247
|
+
*
|
|
248
|
+
* @event select
|
|
249
|
+
*/
|
|
250
|
+
select?: EmitType<SelectEventArgs>;
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
|
-
* Triggers when data source is populated in the popup list..
|
|
254
|
-
*
|
|
255
|
-
* @event dataBound
|
|
256
|
-
*/
|
|
257
|
-
dataBound?: EmitType<Object>;
|
|
253
|
+
* Triggers when data source is populated in the popup list..
|
|
254
|
+
*
|
|
255
|
+
* @event dataBound
|
|
256
|
+
*/
|
|
257
|
+
dataBound?: EmitType<Object>;
|
|
258
258
|
|
|
259
259
|
/**
|
|
260
|
-
* Triggers when the component is created.
|
|
261
|
-
*
|
|
262
|
-
* @event created
|
|
263
|
-
*/
|
|
264
|
-
created?: EmitType<Object>;
|
|
260
|
+
* Triggers when the component is created.
|
|
261
|
+
*
|
|
262
|
+
* @event created
|
|
263
|
+
*/
|
|
264
|
+
created?: EmitType<Object>;
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
|
-
* Triggers when the component is destroyed.
|
|
268
|
-
*
|
|
269
|
-
* @event destroyed
|
|
270
|
-
*/
|
|
271
|
-
destroyed?: EmitType<Object>;
|
|
267
|
+
* Triggers when the component is destroyed.
|
|
268
|
+
*
|
|
269
|
+
* @event destroyed
|
|
270
|
+
*/
|
|
271
|
+
destroyed?: EmitType<Object>;
|
|
272
272
|
|
|
273
273
|
}
|
|
@@ -320,7 +320,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
320
320
|
* ```
|
|
321
321
|
*
|
|
322
322
|
* @default {text: null, value: null, iconCss: null, groupBy: null, disabled: null}
|
|
323
|
-
|
|
323
|
+
* @deprecated
|
|
324
324
|
*/
|
|
325
325
|
fields: FieldSettingsModel;
|
|
326
326
|
/**
|
|
@@ -332,7 +332,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
332
332
|
*
|
|
333
333
|
* @default null
|
|
334
334
|
* @aspType string
|
|
335
|
-
|
|
335
|
+
* @deprecated
|
|
336
336
|
*/
|
|
337
337
|
itemTemplate: string | Function;
|
|
338
338
|
/**
|
|
@@ -340,7 +340,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
340
340
|
*
|
|
341
341
|
* @default null
|
|
342
342
|
* @aspType string
|
|
343
|
-
|
|
343
|
+
* @deprecated
|
|
344
344
|
*/
|
|
345
345
|
groupTemplate: string | Function;
|
|
346
346
|
/**
|
|
@@ -349,7 +349,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
349
349
|
*
|
|
350
350
|
* @default 'No records found'
|
|
351
351
|
* @aspType string
|
|
352
|
-
|
|
352
|
+
* @deprecated
|
|
353
353
|
*/
|
|
354
354
|
noRecordsTemplate: string | Function;
|
|
355
355
|
/**
|
|
@@ -358,7 +358,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
358
358
|
*
|
|
359
359
|
* @default 'Request failed'
|
|
360
360
|
* @aspType string
|
|
361
|
-
|
|
361
|
+
* @deprecated
|
|
362
362
|
*/
|
|
363
363
|
actionFailureTemplate: string | Function;
|
|
364
364
|
/**
|
|
@@ -370,7 +370,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
370
370
|
* @default null
|
|
371
371
|
* @asptype object
|
|
372
372
|
* @aspjsonconverterignore
|
|
373
|
-
|
|
373
|
+
* @deprecated
|
|
374
374
|
*/
|
|
375
375
|
sortOrder: SortOrder;
|
|
376
376
|
/**
|
|
@@ -379,7 +379,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
379
379
|
* `DataManager`.
|
|
380
380
|
*
|
|
381
381
|
* @default []
|
|
382
|
-
|
|
382
|
+
* @deprecated
|
|
383
383
|
*/
|
|
384
384
|
dataSource: {
|
|
385
385
|
[key: string]: Object;
|
|
@@ -389,7 +389,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
389
389
|
* which will execute along with the data processing.
|
|
390
390
|
*
|
|
391
391
|
* @default null
|
|
392
|
-
|
|
392
|
+
* @deprecated
|
|
393
393
|
*/
|
|
394
394
|
query: Query;
|
|
395
395
|
/**
|
|
@@ -422,7 +422,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
422
422
|
* The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
423
423
|
*
|
|
424
424
|
* @default 'StartsWith'
|
|
425
|
-
|
|
425
|
+
* @deprecated
|
|
426
426
|
*/
|
|
427
427
|
filterType: FilterType;
|
|
428
428
|
/**
|
|
@@ -430,27 +430,27 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
430
430
|
* By default consider the casing.
|
|
431
431
|
*
|
|
432
432
|
* @default true
|
|
433
|
-
|
|
433
|
+
* @deprecated
|
|
434
434
|
*/
|
|
435
435
|
ignoreCase: boolean;
|
|
436
436
|
/**
|
|
437
437
|
* specifies the z-index value of the component popup element.
|
|
438
438
|
*
|
|
439
439
|
* @default 1000
|
|
440
|
-
|
|
440
|
+
* @deprecated
|
|
441
441
|
*/
|
|
442
442
|
zIndex: number;
|
|
443
443
|
/**
|
|
444
444
|
* ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
|
|
445
445
|
*
|
|
446
|
-
|
|
446
|
+
* @deprecated
|
|
447
447
|
*/
|
|
448
448
|
ignoreAccent: boolean;
|
|
449
449
|
/**
|
|
450
450
|
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
451
451
|
*
|
|
452
452
|
* @default 'en-US'
|
|
453
|
-
|
|
453
|
+
* @deprecated
|
|
454
454
|
*/
|
|
455
455
|
locale: string;
|
|
456
456
|
/**
|
|
@@ -749,7 +749,7 @@ export declare class DropDownBase extends Component<HTMLElement> implements INot
|
|
|
749
749
|
* @param { Object[] } items - Specifies an array of JSON data or a JSON data.
|
|
750
750
|
* @param { number } itemIndex - Specifies the index to place the newly added item in the popup list.
|
|
751
751
|
* @returns {void}
|
|
752
|
-
|
|
752
|
+
* @deprecated
|
|
753
753
|
*/
|
|
754
754
|
addItem(items: {
|
|
755
755
|
[key: string]: Object;
|
|
@@ -842,7 +842,7 @@ export interface PopupEventArgs {
|
|
|
842
842
|
/**
|
|
843
843
|
* Specifies the popup Object.
|
|
844
844
|
*
|
|
845
|
-
|
|
845
|
+
* @deprecated
|
|
846
846
|
*/
|
|
847
847
|
popup: Popup;
|
|
848
848
|
/**
|
|
@@ -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
|
import { Component, EventHandler, addClass, append, Property, Event, L10n, compile } from '@syncfusion/ej2-base';
|
|
21
21
|
import { setStyleAttribute, extend, removeClass, prepend, isNullOrUndefined, detach, getValue } from '@syncfusion/ej2-base';
|
|
22
22
|
import { NotifyPropertyChanges, rippleEffect, ChildProperty, Complex } from '@syncfusion/ej2-base';
|
|
@@ -1783,7 +1783,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1783
1783
|
* @param { Object[] } items - Specifies an array of JSON data or a JSON data.
|
|
1784
1784
|
* @param { number } itemIndex - Specifies the index to place the newly added item in the popup list.
|
|
1785
1785
|
* @returns {void}
|
|
1786
|
-
|
|
1786
|
+
* @deprecated
|
|
1787
1787
|
*/
|
|
1788
1788
|
DropDownBase.prototype.addItem = function (items, itemIndex) {
|
|
1789
1789
|
if (!this.list || (this.list.textContent === this.noRecordsTemplate && this.getModuleName() !== 'listbox')) {
|