@syncfusion/ej2-dropdowns 23.1.43 → 23.2.4-13895
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 +2114 -2084
- package/{README.md → ReadMe.md} +217 -217
- 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 +83 -71
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +225 -212
- 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/dist/ts/auto-complete/auto-complete.ts +615 -0
- package/dist/ts/combo-box/combo-box.ts +1028 -0
- package/dist/ts/common/highlight-search.ts +57 -0
- package/dist/ts/common/incremental-search.ts +131 -0
- package/dist/ts/common/interface.ts +72 -0
- package/dist/ts/common/virtual-scroll.ts +354 -0
- package/dist/ts/drop-down-base/drop-down-base.ts +1864 -0
- package/dist/ts/drop-down-list/drop-down-list.ts +3954 -0
- package/dist/ts/drop-down-tree/drop-down-tree.ts +3741 -0
- package/dist/ts/list-box/list-box.ts +2753 -0
- package/dist/ts/mention/mention.ts +1857 -0
- package/dist/ts/multi-select/checkbox-selection.ts +547 -0
- package/dist/ts/multi-select/float-label.ts +176 -0
- package/dist/ts/multi-select/interface.ts +70 -0
- package/dist/ts/multi-select/multi-select.ts +4880 -0
- package/helpers/e2e/autocomplete.js +13 -13
- package/helpers/e2e/combobox.js +13 -13
- package/helpers/e2e/dropdownlist.js +13 -13
- package/helpers/e2e/index.js +3 -3
- package/helpers/e2e/listboxHelper.js +13 -13
- package/helpers/e2e/multiselect.js +13 -13
- package/license +2 -2
- package/package.json +80 -80
- package/src/auto-complete/auto-complete-model.d.ts +188 -188
- 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 +224 -224
- package/src/combo-box/combo-box.d.ts +27 -27
- package/src/combo-box/combo-box.js +29 -29
- package/src/common/virtual-scroll.js +46 -46
- package/src/drop-down-base/drop-down-base-model.d.ts +200 -200
- package/src/drop-down-base/drop-down-base.d.ts +15 -15
- package/src/drop-down-base/drop-down-base.js +23 -21
- package/src/drop-down-list/drop-down-list-model.d.ts +202 -202
- package/src/drop-down-list/drop-down-list.d.ts +4 -4
- package/src/drop-down-list/drop-down-list.js +24 -21
- package/src/drop-down-tree/drop-down-tree-model.d.ts +468 -468
- package/src/drop-down-tree/drop-down-tree.d.ts +0 -1
- package/src/drop-down-tree/drop-down-tree.js +19 -27
- package/src/list-box/list-box-model.d.ts +193 -193
- package/src/list-box/list-box.d.ts +5 -2
- package/src/list-box/list-box.js +38 -21
- package/src/mention/mention-model.d.ts +261 -261
- package/src/mention/mention.js +20 -21
- package/src/multi-select/multi-select-model.d.ts +512 -512
- package/src/multi-select/multi-select.js +19 -19
- package/styles/auto-complete/_all.scss +1 -1
- 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/_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/_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/material3-dark.scss +1 -1
- package/styles/auto-complete/material3.scss +1 -1
- package/styles/bootstrap-dark.css +5 -0
- package/styles/bootstrap5-dark.css +2 -1
- package/styles/bootstrap5.css +2 -1
- package/styles/combo-box/_all.scss +1 -1
- 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/_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/_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/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/_bootstrap-dark-definition.scss +83 -83
- package/styles/drop-down-base/_bootstrap-definition.scss +83 -83
- package/styles/drop-down-base/_bootstrap4-definition.scss +90 -90
- package/styles/drop-down-base/_bootstrap5-definition.scss +117 -117
- package/styles/drop-down-base/_definition.scss +23 -23
- package/styles/drop-down-base/_fabric-dark-definition.scss +86 -86
- package/styles/drop-down-base/_fabric-definition.scss +84 -84
- package/styles/drop-down-base/_fluent-definition.scss +121 -121
- package/styles/drop-down-base/_fusionnew-definition.scss +117 -117
- package/styles/drop-down-base/_highcontrast-definition.scss +105 -105
- package/styles/drop-down-base/_highcontrast-light-definition.scss +105 -105
- package/styles/drop-down-base/_layout.scss +195 -195
- package/styles/drop-down-base/_material-dark-definition.scss +86 -86
- package/styles/drop-down-base/_material-definition.scss +85 -85
- package/styles/drop-down-base/_material3-definition.scss +87 -87
- package/styles/drop-down-base/_tailwind-definition.scss +129 -129
- package/styles/drop-down-base/_theme.scss +391 -391
- 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/_bootstrap-dark-definition.scss +157 -157
- package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
- package/styles/drop-down-list/_bootstrap4-definition.scss +202 -202
- package/styles/drop-down-list/_bootstrap5-definition.scss +201 -201
- package/styles/drop-down-list/_fabric-dark-definition.scss +128 -128
- package/styles/drop-down-list/_fabric-definition.scss +124 -124
- package/styles/drop-down-list/_fluent-definition.scss +185 -185
- package/styles/drop-down-list/_fusionnew-definition.scss +201 -201
- package/styles/drop-down-list/_highcontrast-definition.scss +142 -142
- package/styles/drop-down-list/_highcontrast-light-definition.scss +144 -144
- package/styles/drop-down-list/_layout.scss +310 -310
- package/styles/drop-down-list/_material-dark-definition.scss +143 -143
- package/styles/drop-down-list/_material-definition.scss +167 -167
- package/styles/drop-down-list/_material3-definition.scss +180 -180
- package/styles/drop-down-list/_tailwind-definition.scss +134 -134
- package/styles/drop-down-list/_theme.scss +10 -10
- package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap5.scss +14 -14
- package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
- package/styles/drop-down-list/icons/_fabric.scss +14 -14
- package/styles/drop-down-list/icons/_fluent.scss +14 -14
- 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 +14 -14
- package/styles/drop-down-list/icons/_material-dark.scss +14 -14
- package/styles/drop-down-list/icons/_material.scss +14 -14
- package/styles/drop-down-list/icons/_material3.scss +14 -14
- package/styles/drop-down-list/icons/_tailwind.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/_bootstrap-dark-definition.scss +71 -71
- package/styles/drop-down-tree/_bootstrap-definition.scss +70 -70
- package/styles/drop-down-tree/_bootstrap4-definition.scss +71 -71
- package/styles/drop-down-tree/_bootstrap5-definition.scss +59 -59
- package/styles/drop-down-tree/_fabric-dark-definition.scss +71 -71
- package/styles/drop-down-tree/_fabric-definition.scss +71 -71
- package/styles/drop-down-tree/_fluent-definition.scss +65 -65
- package/styles/drop-down-tree/_fusionnew-definition.scss +59 -59
- package/styles/drop-down-tree/_highcontrast-definition.scss +71 -71
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +71 -71
- package/styles/drop-down-tree/_layout.scss +1418 -1412
- package/styles/drop-down-tree/_material-dark-definition.scss +72 -72
- package/styles/drop-down-tree/_material-definition.scss +72 -72
- package/styles/drop-down-tree/_material3-definition.scss +76 -76
- package/styles/drop-down-tree/_tailwind-definition.scss +61 -61
- package/styles/drop-down-tree/_theme.scss +132 -132
- package/styles/drop-down-tree/fluent-dark.css +2 -0
- package/styles/drop-down-tree/fluent.css +2 -0
- 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.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/_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/material3-dark.scss +1 -1
- package/styles/drop-down-tree/material3.scss +1 -1
- package/styles/fabric-dark.css +5 -0
- package/styles/fluent-dark.css +4 -1
- package/styles/fluent.css +4 -1
- package/styles/highcontrast.css +5 -0
- package/styles/list-box/_all.scss +2 -2
- 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 +124 -124
- package/styles/list-box/_bootstrap5-definition.scss +120 -120
- package/styles/list-box/_fabric-dark-definition.scss +126 -126
- package/styles/list-box/_fabric-definition.scss +119 -119
- package/styles/list-box/_fluent-definition.scss +120 -120
- 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 +126 -126
- package/styles/list-box/_layout.scss +542 -542
- package/styles/list-box/_material-dark-definition.scss +126 -126
- 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/_theme.scss +382 -382
- 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.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/_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/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/_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/_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/_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/material3-dark.scss +1 -1
- package/styles/mention/material3.scss +1 -1
- package/styles/multi-select/_all.scss +2 -2
- package/styles/multi-select/_bootstrap-dark-definition.scss +203 -198
- package/styles/multi-select/_bootstrap-definition.scss +192 -192
- package/styles/multi-select/_bootstrap4-definition.scss +278 -278
- package/styles/multi-select/_bootstrap5-definition.scss +230 -229
- package/styles/multi-select/_fabric-dark-definition.scss +192 -187
- package/styles/multi-select/_fabric-definition.scss +183 -183
- package/styles/multi-select/_fluent-definition.scss +241 -240
- package/styles/multi-select/_fusionnew-definition.scss +227 -227
- package/styles/multi-select/_highcontrast-definition.scss +303 -298
- package/styles/multi-select/_highcontrast-light-definition.scss +297 -297
- package/styles/multi-select/_layout.scss +2199 -2199
- package/styles/multi-select/_material-dark-definition.scss +230 -230
- package/styles/multi-select/_material-definition.scss +223 -223
- package/styles/multi-select/_material3-definition.scss +246 -246
- package/styles/multi-select/_tailwind-definition.scss +235 -234
- package/styles/multi-select/_theme.scss +586 -586
- package/styles/multi-select/bootstrap-dark.css +5 -0
- package/styles/multi-select/bootstrap5-dark.css +2 -1
- package/styles/multi-select/bootstrap5.css +2 -1
- package/styles/multi-select/fabric-dark.css +5 -0
- package/styles/multi-select/fluent-dark.css +2 -1
- package/styles/multi-select/fluent.css +2 -1
- package/styles/multi-select/highcontrast.css +5 -0
- package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
- package/styles/multi-select/icons/_bootstrap.scss +26 -26
- package/styles/multi-select/icons/_bootstrap4.scss +37 -37
- package/styles/multi-select/icons/_bootstrap5.scss +26 -26
- package/styles/multi-select/icons/_fabric-dark.scss +26 -26
- package/styles/multi-select/icons/_fabric.scss +26 -26
- package/styles/multi-select/icons/_fluent.scss +55 -55
- 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 +26 -26
- package/styles/multi-select/icons/_material-dark.scss +693 -693
- package/styles/multi-select/icons/_material.scss +693 -693
- package/styles/multi-select/icons/_material3.scss +692 -692
- package/styles/multi-select/icons/_tailwind.scss +26 -26
- package/styles/multi-select/material3-dark.scss +1 -1
- package/styles/multi-select/material3.scss +1 -1
- package/styles/multi-select/tailwind-dark.css +2 -1
- package/styles/multi-select/tailwind.css +2 -1
- package/styles/tailwind-dark.css +2 -1
- package/styles/tailwind.css +2 -1
- package/.eslintrc.json +0 -260
- package/tslint.json +0 -111
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Input, InputObject, FloatLabelType, TextBox, InputEventArgs } from '@syncfusion/ej2-inputs';
|
|
1
|
+
import { Input, InputObject, FloatLabelType, TextBox, InputEventArgs } from '@syncfusion/ej2-inputs';
|
|
2
2
|
import {Mode,ExpandOn,TreeFilterType,SortOrder,DdtBeforeOpenEventArgs,DdtChangeEventArgs,DdtPopupEventArgs,DdtDataBoundEventArgs,DdtFilteringEventArgs,DdtFocusEventArgs,DdtKeyPressEventArgs,DdtSelectEventArgs} from "./drop-down-tree";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -8,86 +8,86 @@ import {ComponentModel} from '@syncfusion/ej2-base';
|
|
|
8
8
|
export interface FieldsModel {
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* This field specifies the child items or mapping field for the nested child items that contains an array of JSON objects.
|
|
12
|
-
*/
|
|
13
|
-
child?: string | FieldsModel;
|
|
11
|
+
* This field specifies the child items or mapping field for the nested child items that contains an array of JSON objects.
|
|
12
|
+
*/
|
|
13
|
+
child?: string | FieldsModel;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Specifies the array of JavaScript objects or instance of Data Manager to populate the dropdown tree items.
|
|
17
|
-
*
|
|
18
|
-
* @default []
|
|
19
|
-
*/
|
|
20
|
-
/* eslint-disable */
|
|
21
|
-
dataSource?: DataManager | { [key: string]: Object }[];
|
|
16
|
+
* Specifies the array of JavaScript objects or instance of Data Manager to populate the dropdown tree items.
|
|
17
|
+
*
|
|
18
|
+
* @default []
|
|
19
|
+
*/
|
|
20
|
+
/* eslint-disable */
|
|
21
|
+
dataSource?: DataManager | { [key: string]: Object }[];
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* This fields specifies the mapping field to define the expanded state of a Dropdown tree item.
|
|
25
|
-
*/
|
|
26
|
-
expanded?: string;
|
|
24
|
+
* This fields specifies the mapping field to define the expanded state of a Dropdown tree item.
|
|
25
|
+
*/
|
|
26
|
+
expanded?: string;
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* This field specifies the mapping field to indicate whether the Dropdown tree item has children or not.
|
|
30
|
-
*/
|
|
31
|
-
hasChildren?: string;
|
|
29
|
+
* This field specifies the mapping field to indicate whether the Dropdown tree item has children or not.
|
|
30
|
+
*/
|
|
31
|
+
hasChildren?: string;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Specifies the mapping field for htmlAttributes to be added to the Dropdown Tree item.
|
|
35
|
-
*/
|
|
36
|
-
htmlAttributes?: string;
|
|
34
|
+
* Specifies the mapping field for htmlAttributes to be added to the Dropdown Tree item.
|
|
35
|
+
*/
|
|
36
|
+
htmlAttributes?: string;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* Specifies the mapping field for icon class of each Dropdown Tree item that will be added before the text.
|
|
40
|
-
*/
|
|
41
|
-
iconCss?: string;
|
|
39
|
+
* Specifies the mapping field for icon class of each Dropdown Tree item that will be added before the text.
|
|
40
|
+
*/
|
|
41
|
+
iconCss?: string;
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* Specifies the mapping field for image URL of each Dropdown Tree item where image will be added before the text.
|
|
45
|
-
*/
|
|
46
|
-
imageUrl?: string;
|
|
44
|
+
* Specifies the mapping field for image URL of each Dropdown Tree item where image will be added before the text.
|
|
45
|
+
*/
|
|
46
|
+
imageUrl?: string;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Specifies the parent value field mapped in the data source.
|
|
50
|
-
*/
|
|
51
|
-
parentValue?: string;
|
|
49
|
+
* Specifies the parent value field mapped in the data source.
|
|
50
|
+
*/
|
|
51
|
+
parentValue?: string;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* Defines the external [`Query`](https://ej2.syncfusion.com/documentation/api/data/query/)
|
|
55
|
-
* that will execute along with the data processing.
|
|
56
|
-
*
|
|
57
|
-
* @default null
|
|
58
|
-
*/
|
|
59
|
-
query?: Query;
|
|
54
|
+
* Defines the external [`Query`](https://ej2.syncfusion.com/documentation/api/data/query/)
|
|
55
|
+
* that will execute along with the data processing.
|
|
56
|
+
*
|
|
57
|
+
* @default null
|
|
58
|
+
*/
|
|
59
|
+
query?: Query;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Specifies whether the node can be selected by users or not
|
|
63
|
-
* When set to false, the user interaction is prevented for the corresponding node.
|
|
64
|
-
*/
|
|
65
|
-
selectable?: string;
|
|
62
|
+
* Specifies whether the node can be selected by users or not
|
|
63
|
+
* When set to false, the user interaction is prevented for the corresponding node.
|
|
64
|
+
*/
|
|
65
|
+
selectable?: string;
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* Specifies the mapping field for the selected state of the Dropdown Tree item.
|
|
69
|
-
*/
|
|
70
|
-
selected?: string;
|
|
68
|
+
* Specifies the mapping field for the selected state of the Dropdown Tree item.
|
|
69
|
+
*/
|
|
70
|
+
selected?: string;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
* Specifies the table name used to fetch data from a specific table in the server.
|
|
74
|
-
*/
|
|
75
|
-
tableName?: string;
|
|
73
|
+
* Specifies the table name used to fetch data from a specific table in the server.
|
|
74
|
+
*/
|
|
75
|
+
tableName?: string;
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* Specifies the mapping field for text displayed as Dropdown Tree items display text.
|
|
79
|
-
*/
|
|
80
|
-
text?: string;
|
|
78
|
+
* Specifies the mapping field for text displayed as Dropdown Tree items display text.
|
|
79
|
+
*/
|
|
80
|
+
text?: string;
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
|
-
* Specifies the mapping field for tooltip that will be displayed as hovering text of the Dropdown Tree item.
|
|
84
|
-
*/
|
|
85
|
-
tooltip?: string;
|
|
83
|
+
* Specifies the mapping field for tooltip that will be displayed as hovering text of the Dropdown Tree item.
|
|
84
|
+
*/
|
|
85
|
+
tooltip?: string;
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
* Specifies the value(ID) field mapped in the data source.
|
|
89
|
-
*/
|
|
90
|
-
value?: string;
|
|
88
|
+
* Specifies the value(ID) field mapped in the data source.
|
|
89
|
+
*/
|
|
90
|
+
value?: string;
|
|
91
91
|
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -97,36 +97,36 @@ export interface FieldsModel {
|
|
|
97
97
|
export interface TreeSettingsModel {
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
|
-
* Specifies whether the child and parent tree items check states are dependent over each other when checkboxes are enabled.
|
|
101
|
-
*
|
|
102
|
-
* @default false
|
|
103
|
-
*/
|
|
104
|
-
|
|
105
|
-
autoCheck?: boolean;
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Specifies the action on which the parent items in the pop-up should expand or collapse. The available actions are
|
|
109
|
-
* * `Auto` - In desktop, the expand or collapse operation happens when you double-click the node,
|
|
110
|
-
* and in mobile devices it happens on single-tap.
|
|
111
|
-
* * `Click` - The expand or collapse operation happens when you perform single-click/tap
|
|
112
|
-
* on the pop-up item in both desktop and mobile devices.
|
|
113
|
-
* * `DblClick` - The expand or collapse operation happens when you perform a double-click/tap
|
|
114
|
-
* on the pop-up item in both desktop and mobile devices.
|
|
115
|
-
* * `None` - The expand or collapse operation will not happen when you perform single-click/tap
|
|
116
|
-
* or double-click/tap on the pop-up items in both desktop and mobile devices.
|
|
117
|
-
*
|
|
118
|
-
* @default 'Auto'
|
|
119
|
-
*/
|
|
120
|
-
expandOn?: ExpandOn;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* By default, the load on demand (Lazy load) is set to false.
|
|
124
|
-
* Enabling this property will render only the parent tree items in the popup and
|
|
125
|
-
* the child items will be rendered on demand when expanding the corresponding parent node.
|
|
126
|
-
*
|
|
127
|
-
* @default false
|
|
128
|
-
*/
|
|
129
|
-
loadOnDemand?: boolean;
|
|
100
|
+
* Specifies whether the child and parent tree items check states are dependent over each other when checkboxes are enabled.
|
|
101
|
+
*
|
|
102
|
+
* @default false
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
autoCheck?: boolean;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Specifies the action on which the parent items in the pop-up should expand or collapse. The available actions are
|
|
109
|
+
* * `Auto` - In desktop, the expand or collapse operation happens when you double-click the node,
|
|
110
|
+
* and in mobile devices it happens on single-tap.
|
|
111
|
+
* * `Click` - The expand or collapse operation happens when you perform single-click/tap
|
|
112
|
+
* on the pop-up item in both desktop and mobile devices.
|
|
113
|
+
* * `DblClick` - The expand or collapse operation happens when you perform a double-click/tap
|
|
114
|
+
* on the pop-up item in both desktop and mobile devices.
|
|
115
|
+
* * `None` - The expand or collapse operation will not happen when you perform single-click/tap
|
|
116
|
+
* or double-click/tap on the pop-up items in both desktop and mobile devices.
|
|
117
|
+
*
|
|
118
|
+
* @default 'Auto'
|
|
119
|
+
*/
|
|
120
|
+
expandOn?: ExpandOn;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* By default, the load on demand (Lazy load) is set to false.
|
|
124
|
+
* Enabling this property will render only the parent tree items in the popup and
|
|
125
|
+
* the child items will be rendered on demand when expanding the corresponding parent node.
|
|
126
|
+
*
|
|
127
|
+
* @default false
|
|
128
|
+
*/
|
|
129
|
+
loadOnDemand?: boolean;
|
|
130
130
|
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -136,440 +136,440 @@ export interface TreeSettingsModel {
|
|
|
136
136
|
export interface DropDownTreeModel extends ComponentModel{
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
|
-
* Specifies the template that renders to the popup list content of the
|
|
140
|
-
* Dropdown Tree component when the data fetch request from the remote server fails.
|
|
141
|
-
*
|
|
142
|
-
* @default 'The Request Failed'
|
|
143
|
-
* @aspType string
|
|
144
|
-
*/
|
|
145
|
-
actionFailureTemplate?: string | Function;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* When allowFiltering is set to true, it shows the filter bar (search text box) of the component.
|
|
149
|
-
* The filter action retrieves matched items through the **filtering** event based on the characters typed in the search text box.
|
|
150
|
-
* If no match is found, the value of the **noRecordsTemplate** property will be displayed.
|
|
151
|
-
*
|
|
152
|
-
* @default false
|
|
153
|
-
*/
|
|
154
|
-
allowFiltering?: boolean;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Enables or disables the multi-selection of items. To select multiple items:
|
|
158
|
-
* * Select the items by holding down the **Ctrl** key when clicking on the items.
|
|
159
|
-
* * Select consecutive items by clicking the first item to select and hold down the **Shift** key and click the last item to select.
|
|
160
|
-
*
|
|
161
|
-
* @default false
|
|
162
|
-
*/
|
|
163
|
-
allowMultiSelection?: boolean;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* By default, the Dropdown Tree component fires the change event while focusing out the component.
|
|
167
|
-
* If you want to fire the change event on every value selection and remove, then disable this property.
|
|
168
|
-
*
|
|
169
|
-
* @default true
|
|
170
|
-
*/
|
|
171
|
-
changeOnBlur?: boolean;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Specifies the CSS classes to be added with the root and popup element of the Dropdown Tree component.
|
|
175
|
-
* that allows customization of appearance.
|
|
176
|
-
*
|
|
177
|
-
* @default ''
|
|
178
|
-
*/
|
|
179
|
-
cssClass?: string;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* This property is used to customize the display text of the selected items in the Dropdown Tree. The given custom template is
|
|
183
|
-
* added to the input instead of the selected item text in the Dropdown Tree when the multi-selection or checkbox support is enabled.
|
|
184
|
-
*
|
|
185
|
-
* @default "${value.length} item(s) selected"
|
|
186
|
-
* @aspType string
|
|
187
|
-
*/
|
|
188
|
-
customTemplate?: string | Function;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Defines the value separator character in the input element when multi-selection or checkbox is enabled in the Dropdown Tree.
|
|
192
|
-
* The delimiter character is applicable only for **default** and **delimiter** visibility modes.
|
|
193
|
-
*
|
|
194
|
-
* @default ","
|
|
195
|
-
*/
|
|
196
|
-
delimiterChar?: string;
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* Specifies a value that indicates whether the Dropdown Tree component is enabled or not.
|
|
200
|
-
*
|
|
201
|
-
* @default true
|
|
202
|
-
*/
|
|
203
|
-
enabled?: boolean;
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Specifies the data source and mapping fields to render Dropdown Tree items.
|
|
207
|
-
*
|
|
208
|
-
* @default {value: 'value', text: 'text', dataSource: [], child: 'child', parentValue: 'parentValue', hasChildren: 'hasChildren',
|
|
209
|
-
* expanded: 'expanded', htmlAttributes: 'htmlAttributes', iconCss: 'iconCss', imageUrl: 'imageUrl',
|
|
210
|
-
* query: null, selected: 'selected', selectable: 'selectable', tableName: null, tooltip: 'tooltip' }
|
|
211
|
-
*/
|
|
212
|
-
fields?: FieldsModel;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Accepts the value to be displayed as a watermark text on the filter bar.
|
|
216
|
-
*
|
|
217
|
-
* @default null
|
|
218
|
-
*/
|
|
219
|
-
filterBarPlaceholder?: string;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Determines on which filter type, the component needs to be considered on search action.
|
|
223
|
-
* The **TreeFilterType** and its supported data types are,
|
|
224
|
-
*
|
|
225
|
-
* <table>
|
|
226
|
-
* <tr>
|
|
227
|
-
* <td colSpan=1 rowSpan=1><b>
|
|
228
|
-
* TreeFilterType</b></td><td colSpan=1 rowSpan=1><b>
|
|
229
|
-
* Description</b></td><td colSpan=1 rowSpan=1><b>
|
|
230
|
-
* Supported Types</b></td></tr>
|
|
231
|
-
* <tr>
|
|
232
|
-
* <td colSpan=1 rowSpan=1>
|
|
233
|
-
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
234
|
-
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
235
|
-
* String<br/></td></tr>
|
|
236
|
-
* <tr>
|
|
237
|
-
* <td colSpan=1 rowSpan=1>
|
|
238
|
-
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
239
|
-
* Checks whether a value ends with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
240
|
-
* String<br/></td></tr>
|
|
241
|
-
* <tr>
|
|
242
|
-
* <td colSpan=1 rowSpan=1>
|
|
243
|
-
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
244
|
-
* Checks whether a value contains with specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
245
|
-
* String<br/></td></tr>
|
|
246
|
-
* </table>
|
|
247
|
-
*
|
|
248
|
-
* The default value set to **StartsWith**, all the suggestion items which starts with typed characters to listed in the
|
|
249
|
-
* suggestion popup.
|
|
250
|
-
*
|
|
251
|
-
* @default 'StartsWith'
|
|
252
|
-
*/
|
|
253
|
-
filterType?: TreeFilterType;
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Specifies whether to display the floating label above the input element.
|
|
257
|
-
* Possible values are:
|
|
258
|
-
* * Never: The label will never float in the input when the placeholder is available.
|
|
259
|
-
* * Always: The floating label will always float above the input.
|
|
260
|
-
* * Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
261
|
-
*
|
|
262
|
-
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
263
|
-
* @isEnumeration true
|
|
264
|
-
*/
|
|
265
|
-
floatLabelType?: FloatLabelType;
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Specifies the template that renders a customized footer container at the bottom of the pop-up list.
|
|
269
|
-
* By default, the footerTemplate will be null and there will be no footer container for the pop-up list.
|
|
270
|
-
*
|
|
271
|
-
* @default null
|
|
272
|
-
* @angularType string | object
|
|
273
|
-
* @reactType string | function | JSX.Element
|
|
274
|
-
* @vueType string | function
|
|
275
|
-
* @aspType string
|
|
276
|
-
*/
|
|
277
|
-
footerTemplate?: string | Function;
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* When **ignoreAccent** is set to true, then it ignores the diacritic characters or accents when filtering.
|
|
281
|
-
*/
|
|
282
|
-
ignoreAccent?: boolean;
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* When set to false, consider the case-sensitive on performing the search to find suggestions. By default, consider the casing.
|
|
286
|
-
*
|
|
287
|
-
* @default true
|
|
288
|
-
*/
|
|
289
|
-
ignoreCase?: boolean;
|
|
290
|
-
|
|
291
|
-
/**
|
|
292
|
-
* Specifies the template that renders a customized header container at the top of the pop-up list.
|
|
293
|
-
* By default, the headerTemplate will be null and there will be no header container for the pop-up list.
|
|
294
|
-
*
|
|
295
|
-
* @default null
|
|
296
|
-
* @angularType string | object
|
|
297
|
-
* @reactType string | function | JSX.Element
|
|
298
|
-
* @vueType string | function
|
|
299
|
-
* @aspType string
|
|
300
|
-
*/
|
|
301
|
-
headerTemplate?: string | Function;
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.
|
|
305
|
-
*
|
|
306
|
-
* @default {}
|
|
307
|
-
*/
|
|
308
|
-
htmlAttributes?: { [key: string]: string; };
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* Specifies a template to render customized content for all the items.
|
|
312
|
-
* If the **itemTemplate** property is set, the template content overrides the displayed item text.
|
|
313
|
-
* The property accepts [template string](https://ej2.syncfusion.com/documentation/common/template-engine/)
|
|
314
|
-
* or HTML element ID holding the content.
|
|
315
|
-
*
|
|
316
|
-
* @default null
|
|
317
|
-
* @angularType string | object
|
|
318
|
-
* @reactType string | function | JSX.Element
|
|
319
|
-
* @vueType string | function
|
|
320
|
-
* @aspType string
|
|
321
|
-
*/
|
|
322
|
-
itemTemplate?: string | Function;
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Configures visibility mode for component interaction when allowMultiSelection or checkbox is enabled.
|
|
326
|
-
* Different modes are:
|
|
327
|
-
* * Box : Selected items will be visualized in chip.
|
|
328
|
-
* * Delimiter : Selected items will be visualized in the text content.
|
|
329
|
-
* * Default : On focus in component will act in the box mode. On blur component will act in the delimiter mode.
|
|
330
|
-
* * Custom : Selected items will be visualized with the given custom template value. The given custom template
|
|
331
|
-
* is added to the input instead of the selected item text in the Dropdown Tree when the multi-selection or checkbox support is enabled.
|
|
332
|
-
*/
|
|
333
|
-
mode?: Mode;
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* Specifies the template that renders a customized pop-up list content when there is no data available
|
|
337
|
-
* to be displayed within the pop-up.
|
|
338
|
-
*
|
|
339
|
-
* @default 'No Records Found'
|
|
340
|
-
* @aspType string
|
|
341
|
-
*/
|
|
342
|
-
noRecordsTemplate?: string | Function;
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* Specifies a short hint that describes the expected value of the Dropdown Tree component.
|
|
346
|
-
*
|
|
347
|
-
* @default null
|
|
348
|
-
*/
|
|
349
|
-
placeholder?: string;
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* Specifies the height of the pop-up list.
|
|
353
|
-
*
|
|
354
|
-
* @default '300px'
|
|
355
|
-
*/
|
|
356
|
-
popupHeight?: string | number;
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* Specifies the width of the popup list. By default, the popup width sets based on the width of the Dropdown Tree element.
|
|
360
|
-
*
|
|
361
|
-
* @default '100%'
|
|
362
|
-
*/
|
|
363
|
-
popupWidth?: string | number;
|
|
364
|
-
|
|
139
|
+
* Specifies the template that renders to the popup list content of the
|
|
140
|
+
* Dropdown Tree component when the data fetch request from the remote server fails.
|
|
141
|
+
*
|
|
142
|
+
* @default 'The Request Failed'
|
|
143
|
+
* @aspType string
|
|
144
|
+
*/
|
|
145
|
+
actionFailureTemplate?: string | Function;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* When allowFiltering is set to true, it shows the filter bar (search text box) of the component.
|
|
149
|
+
* The filter action retrieves matched items through the **filtering** event based on the characters typed in the search text box.
|
|
150
|
+
* If no match is found, the value of the **noRecordsTemplate** property will be displayed.
|
|
151
|
+
*
|
|
152
|
+
* @default false
|
|
153
|
+
*/
|
|
154
|
+
allowFiltering?: boolean;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Enables or disables the multi-selection of items. To select multiple items:
|
|
158
|
+
* * Select the items by holding down the **Ctrl** key when clicking on the items.
|
|
159
|
+
* * Select consecutive items by clicking the first item to select and hold down the **Shift** key and click the last item to select.
|
|
160
|
+
*
|
|
161
|
+
* @default false
|
|
162
|
+
*/
|
|
163
|
+
allowMultiSelection?: boolean;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* By default, the Dropdown Tree component fires the change event while focusing out the component.
|
|
167
|
+
* If you want to fire the change event on every value selection and remove, then disable this property.
|
|
168
|
+
*
|
|
169
|
+
* @default true
|
|
170
|
+
*/
|
|
171
|
+
changeOnBlur?: boolean;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Specifies the CSS classes to be added with the root and popup element of the Dropdown Tree component.
|
|
175
|
+
* that allows customization of appearance.
|
|
176
|
+
*
|
|
177
|
+
* @default ''
|
|
178
|
+
*/
|
|
179
|
+
cssClass?: string;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* This property is used to customize the display text of the selected items in the Dropdown Tree. The given custom template is
|
|
183
|
+
* added to the input instead of the selected item text in the Dropdown Tree when the multi-selection or checkbox support is enabled.
|
|
184
|
+
*
|
|
185
|
+
* @default "${value.length} item(s) selected"
|
|
186
|
+
* @aspType string
|
|
187
|
+
*/
|
|
188
|
+
customTemplate?: string | Function;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Defines the value separator character in the input element when multi-selection or checkbox is enabled in the Dropdown Tree.
|
|
192
|
+
* The delimiter character is applicable only for **default** and **delimiter** visibility modes.
|
|
193
|
+
*
|
|
194
|
+
* @default ","
|
|
195
|
+
*/
|
|
196
|
+
delimiterChar?: string;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Specifies a value that indicates whether the Dropdown Tree component is enabled or not.
|
|
200
|
+
*
|
|
201
|
+
* @default true
|
|
202
|
+
*/
|
|
203
|
+
enabled?: boolean;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Specifies the data source and mapping fields to render Dropdown Tree items.
|
|
207
|
+
*
|
|
208
|
+
* @default {value: 'value', text: 'text', dataSource: [], child: 'child', parentValue: 'parentValue', hasChildren: 'hasChildren',
|
|
209
|
+
* expanded: 'expanded', htmlAttributes: 'htmlAttributes', iconCss: 'iconCss', imageUrl: 'imageUrl',
|
|
210
|
+
* query: null, selected: 'selected', selectable: 'selectable', tableName: null, tooltip: 'tooltip' }
|
|
211
|
+
*/
|
|
212
|
+
fields?: FieldsModel;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Accepts the value to be displayed as a watermark text on the filter bar.
|
|
216
|
+
*
|
|
217
|
+
* @default null
|
|
218
|
+
*/
|
|
219
|
+
filterBarPlaceholder?: string;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Determines on which filter type, the component needs to be considered on search action.
|
|
223
|
+
* The **TreeFilterType** and its supported data types are,
|
|
224
|
+
*
|
|
225
|
+
* <table>
|
|
226
|
+
* <tr>
|
|
227
|
+
* <td colSpan=1 rowSpan=1><b>
|
|
228
|
+
* TreeFilterType</b></td><td colSpan=1 rowSpan=1><b>
|
|
229
|
+
* Description</b></td><td colSpan=1 rowSpan=1><b>
|
|
230
|
+
* Supported Types</b></td></tr>
|
|
231
|
+
* <tr>
|
|
232
|
+
* <td colSpan=1 rowSpan=1>
|
|
233
|
+
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
234
|
+
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
235
|
+
* String<br/></td></tr>
|
|
236
|
+
* <tr>
|
|
237
|
+
* <td colSpan=1 rowSpan=1>
|
|
238
|
+
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
239
|
+
* Checks whether a value ends with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
240
|
+
* String<br/></td></tr>
|
|
241
|
+
* <tr>
|
|
242
|
+
* <td colSpan=1 rowSpan=1>
|
|
243
|
+
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
244
|
+
* Checks whether a value contains with specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
245
|
+
* String<br/></td></tr>
|
|
246
|
+
* </table>
|
|
247
|
+
*
|
|
248
|
+
* The default value set to **StartsWith**, all the suggestion items which starts with typed characters to listed in the
|
|
249
|
+
* suggestion popup.
|
|
250
|
+
*
|
|
251
|
+
* @default 'StartsWith'
|
|
252
|
+
*/
|
|
253
|
+
filterType?: TreeFilterType;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Specifies whether to display the floating label above the input element.
|
|
257
|
+
* Possible values are:
|
|
258
|
+
* * Never: The label will never float in the input when the placeholder is available.
|
|
259
|
+
* * Always: The floating label will always float above the input.
|
|
260
|
+
* * Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
261
|
+
*
|
|
262
|
+
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
263
|
+
* @isEnumeration true
|
|
264
|
+
*/
|
|
265
|
+
floatLabelType?: FloatLabelType;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Specifies the template that renders a customized footer container at the bottom of the pop-up list.
|
|
269
|
+
* By default, the footerTemplate will be null and there will be no footer container for the pop-up list.
|
|
270
|
+
*
|
|
271
|
+
* @default null
|
|
272
|
+
* @angularType string | object
|
|
273
|
+
* @reactType string | function | JSX.Element
|
|
274
|
+
* @vueType string | function
|
|
275
|
+
* @aspType string
|
|
276
|
+
*/
|
|
277
|
+
footerTemplate?: string | Function;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* When **ignoreAccent** is set to true, then it ignores the diacritic characters or accents when filtering.
|
|
281
|
+
*/
|
|
282
|
+
ignoreAccent?: boolean;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* When set to false, consider the case-sensitive on performing the search to find suggestions. By default, consider the casing.
|
|
286
|
+
*
|
|
287
|
+
* @default true
|
|
288
|
+
*/
|
|
289
|
+
ignoreCase?: boolean;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Specifies the template that renders a customized header container at the top of the pop-up list.
|
|
293
|
+
* By default, the headerTemplate will be null and there will be no header container for the pop-up list.
|
|
294
|
+
*
|
|
295
|
+
* @default null
|
|
296
|
+
* @angularType string | object
|
|
297
|
+
* @reactType string | function | JSX.Element
|
|
298
|
+
* @vueType string | function
|
|
299
|
+
* @aspType string
|
|
300
|
+
*/
|
|
301
|
+
headerTemplate?: string | Function;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.
|
|
305
|
+
*
|
|
306
|
+
* @default {}
|
|
307
|
+
*/
|
|
308
|
+
htmlAttributes?: { [key: string]: string; };
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Specifies a template to render customized content for all the items.
|
|
312
|
+
* If the **itemTemplate** property is set, the template content overrides the displayed item text.
|
|
313
|
+
* The property accepts [template string](https://ej2.syncfusion.com/documentation/common/template-engine/)
|
|
314
|
+
* or HTML element ID holding the content.
|
|
315
|
+
*
|
|
316
|
+
* @default null
|
|
317
|
+
* @angularType string | object
|
|
318
|
+
* @reactType string | function | JSX.Element
|
|
319
|
+
* @vueType string | function
|
|
320
|
+
* @aspType string
|
|
321
|
+
*/
|
|
322
|
+
itemTemplate?: string | Function;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Configures visibility mode for component interaction when allowMultiSelection or checkbox is enabled.
|
|
326
|
+
* Different modes are:
|
|
327
|
+
* * Box : Selected items will be visualized in chip.
|
|
328
|
+
* * Delimiter : Selected items will be visualized in the text content.
|
|
329
|
+
* * Default : On focus in component will act in the box mode. On blur component will act in the delimiter mode.
|
|
330
|
+
* * Custom : Selected items will be visualized with the given custom template value. The given custom template
|
|
331
|
+
* is added to the input instead of the selected item text in the Dropdown Tree when the multi-selection or checkbox support is enabled.
|
|
332
|
+
*/
|
|
333
|
+
mode?: Mode;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Specifies the template that renders a customized pop-up list content when there is no data available
|
|
337
|
+
* to be displayed within the pop-up.
|
|
338
|
+
*
|
|
339
|
+
* @default 'No Records Found'
|
|
340
|
+
* @aspType string
|
|
341
|
+
*/
|
|
342
|
+
noRecordsTemplate?: string | Function;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Specifies a short hint that describes the expected value of the Dropdown Tree component.
|
|
346
|
+
*
|
|
347
|
+
* @default null
|
|
348
|
+
*/
|
|
349
|
+
placeholder?: string;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Specifies the height of the pop-up list.
|
|
353
|
+
*
|
|
354
|
+
* @default '300px'
|
|
355
|
+
*/
|
|
356
|
+
popupHeight?: string | number;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Specifies the width of the popup list. By default, the popup width sets based on the width of the Dropdown Tree element.
|
|
360
|
+
*
|
|
361
|
+
* @default '100%'
|
|
362
|
+
*/
|
|
363
|
+
popupWidth?: string | number;
|
|
364
|
+
|
|
365
365
|
/**
|
|
366
|
-
* When set to true, the user interactions on the component will be disabled.
|
|
367
|
-
*
|
|
368
|
-
* @default false
|
|
369
|
-
*/
|
|
370
|
-
readonly?: boolean;
|
|
371
|
-
|
|
366
|
+
* When set to true, the user interactions on the component will be disabled.
|
|
367
|
+
*
|
|
368
|
+
* @default false
|
|
369
|
+
*/
|
|
370
|
+
readonly?: boolean;
|
|
371
|
+
|
|
372
372
|
/**
|
|
373
|
-
* Specifies whether to show or hide the selectAll checkbox in the pop-up which allows you to select all the items in the pop-up.
|
|
374
|
-
*
|
|
375
|
-
* @default false
|
|
376
|
-
*/
|
|
377
|
-
showSelectAll?: boolean;
|
|
373
|
+
* Specifies whether to show or hide the selectAll checkbox in the pop-up which allows you to select all the items in the pop-up.
|
|
374
|
+
*
|
|
375
|
+
* @default false
|
|
376
|
+
*/
|
|
377
|
+
showSelectAll?: boolean;
|
|
378
378
|
|
|
379
379
|
/**
|
|
380
|
-
* Specifies the display text for the selectAll checkbox in the pop-up.
|
|
381
|
-
*
|
|
382
|
-
* @default 'Select All'
|
|
383
|
-
*/
|
|
384
|
-
selectAllText?: string;
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* Enables or disables the checkbox option in the Dropdown Tree component.
|
|
388
|
-
* If enabled, the Checkbox will be displayed next to the expand or collapse icon of the tree items.
|
|
389
|
-
*
|
|
390
|
-
* @default false
|
|
391
|
-
*/
|
|
392
|
-
showCheckBox?: boolean;
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* Specifies whether to allow rendering of untrusted HTML values in the Dropdown Tree component.
|
|
396
|
-
* While enable this property, it sanitize suspected untrusted strings and script, and update in the Dropdown Tree component.
|
|
397
|
-
*
|
|
398
|
-
* @default false
|
|
399
|
-
*/
|
|
400
|
-
enableHtmlSanitizer?: boolean;
|
|
380
|
+
* Specifies the display text for the selectAll checkbox in the pop-up.
|
|
381
|
+
*
|
|
382
|
+
* @default 'Select All'
|
|
383
|
+
*/
|
|
384
|
+
selectAllText?: string;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Enables or disables the checkbox option in the Dropdown Tree component.
|
|
388
|
+
* If enabled, the Checkbox will be displayed next to the expand or collapse icon of the tree items.
|
|
389
|
+
*
|
|
390
|
+
* @default false
|
|
391
|
+
*/
|
|
392
|
+
showCheckBox?: boolean;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Specifies whether to allow rendering of untrusted HTML values in the Dropdown Tree component.
|
|
396
|
+
* While enable this property, it sanitize suspected untrusted strings and script, and update in the Dropdown Tree component.
|
|
397
|
+
*
|
|
398
|
+
* @default false
|
|
399
|
+
*/
|
|
400
|
+
enableHtmlSanitizer?: boolean;
|
|
401
401
|
|
|
402
402
|
/**
|
|
403
|
-
* Specifies whether to show or hide the clear icon in textbox.
|
|
404
|
-
* When the clear button is clicked, `value`, `text` properties will be reset to null.
|
|
405
|
-
*
|
|
406
|
-
* @default true
|
|
407
|
-
*/
|
|
408
|
-
showClearButton?: boolean;
|
|
403
|
+
* Specifies whether to show or hide the clear icon in textbox.
|
|
404
|
+
* When the clear button is clicked, `value`, `text` properties will be reset to null.
|
|
405
|
+
*
|
|
406
|
+
* @default true
|
|
407
|
+
*/
|
|
408
|
+
showClearButton?: boolean;
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
|
-
* Specifies whether to show or hide the Dropdown button.
|
|
412
|
-
*
|
|
413
|
-
* @default true
|
|
414
|
-
*/
|
|
415
|
-
showDropDownIcon?: boolean;
|
|
411
|
+
* Specifies whether to show or hide the Dropdown button.
|
|
412
|
+
*
|
|
413
|
+
* @default true
|
|
414
|
+
*/
|
|
415
|
+
showDropDownIcon?: boolean;
|
|
416
416
|
|
|
417
417
|
/**
|
|
418
|
-
* Specifies a value that indicates whether the items are sorted in the ascending or descending order, or not sorted at all.
|
|
419
|
-
* The available types of sort order are,
|
|
420
|
-
* * `None` - The items are not sorted.
|
|
421
|
-
* * `Ascending` - The items are sorted in the ascending order.
|
|
422
|
-
* * `Descending` - The items are sorted in the descending order.
|
|
423
|
-
*
|
|
424
|
-
* @default 'None'
|
|
425
|
-
*/
|
|
426
|
-
sortOrder?: SortOrder;
|
|
418
|
+
* Specifies a value that indicates whether the items are sorted in the ascending or descending order, or not sorted at all.
|
|
419
|
+
* The available types of sort order are,
|
|
420
|
+
* * `None` - The items are not sorted.
|
|
421
|
+
* * `Ascending` - The items are sorted in the ascending order.
|
|
422
|
+
* * `Descending` - The items are sorted in the descending order.
|
|
423
|
+
*
|
|
424
|
+
* @default 'None'
|
|
425
|
+
*/
|
|
426
|
+
sortOrder?: SortOrder;
|
|
427
427
|
|
|
428
428
|
/**
|
|
429
|
-
* Gets or sets the display text of the selected item which maps the data **text** field in the component.
|
|
430
|
-
*
|
|
431
|
-
* @default null
|
|
432
|
-
*/
|
|
433
|
-
text?: string;
|
|
429
|
+
* Gets or sets the display text of the selected item which maps the data **text** field in the component.
|
|
430
|
+
*
|
|
431
|
+
* @default null
|
|
432
|
+
*/
|
|
433
|
+
text?: string;
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
|
-
* Configures the pop-up tree settings.
|
|
437
|
-
*
|
|
438
|
-
* @default {autoCheck: false, expandOn: 'Auto', loadOnDemand: false}
|
|
439
|
-
*/
|
|
440
|
-
treeSettings?: TreeSettingsModel;
|
|
436
|
+
* Configures the pop-up tree settings.
|
|
437
|
+
*
|
|
438
|
+
* @default {autoCheck: false, expandOn: 'Auto', loadOnDemand: false}
|
|
439
|
+
*/
|
|
440
|
+
treeSettings?: TreeSettingsModel;
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
|
-
* Specifies the display text for the unselect all checkbox in the pop-up.
|
|
444
|
-
*
|
|
445
|
-
* @default 'Unselect All'
|
|
446
|
-
*/
|
|
447
|
-
unSelectAllText?: string;
|
|
443
|
+
* Specifies the display text for the unselect all checkbox in the pop-up.
|
|
444
|
+
*
|
|
445
|
+
* @default 'Unselect All'
|
|
446
|
+
*/
|
|
447
|
+
unSelectAllText?: string;
|
|
448
448
|
|
|
449
449
|
/**
|
|
450
|
-
* Gets or sets the value of selected item(s) which maps the data **value** field in the component.
|
|
451
|
-
*
|
|
452
|
-
* @default null
|
|
453
|
-
* @aspType Object
|
|
454
|
-
*/
|
|
455
|
-
value?: string[];
|
|
450
|
+
* Gets or sets the value of selected item(s) which maps the data **value** field in the component.
|
|
451
|
+
*
|
|
452
|
+
* @default null
|
|
453
|
+
* @aspType Object
|
|
454
|
+
*/
|
|
455
|
+
value?: string[];
|
|
456
456
|
|
|
457
457
|
/**
|
|
458
|
-
* Specifies the width of the component. By default, the component width sets based on the width of its parent container.
|
|
459
|
-
* You can also set the width in pixel values.
|
|
460
|
-
*
|
|
461
|
-
* @default '100%'
|
|
462
|
-
*/
|
|
463
|
-
width?: string | number;
|
|
458
|
+
* Specifies the width of the component. By default, the component width sets based on the width of its parent container.
|
|
459
|
+
* You can also set the width in pixel values.
|
|
460
|
+
*
|
|
461
|
+
* @default '100%'
|
|
462
|
+
*/
|
|
463
|
+
width?: string | number;
|
|
464
464
|
|
|
465
465
|
/**
|
|
466
|
-
* Specifies the z-index value of the pop-up element.
|
|
467
|
-
*
|
|
468
|
-
* @default 1000
|
|
469
|
-
*/
|
|
470
|
-
zIndex?: number;
|
|
466
|
+
* Specifies the z-index value of the pop-up element.
|
|
467
|
+
*
|
|
468
|
+
* @default 1000
|
|
469
|
+
*/
|
|
470
|
+
zIndex?: number;
|
|
471
471
|
|
|
472
472
|
/**
|
|
473
|
-
* Defines whether to enable or disable the feature called wrap the selected items into multiple lines when the selected item's text
|
|
474
|
-
* content exceeded the input width limit.
|
|
475
|
-
*
|
|
476
|
-
* @default false
|
|
477
|
-
*/
|
|
478
|
-
wrapText?: boolean;
|
|
473
|
+
* Defines whether to enable or disable the feature called wrap the selected items into multiple lines when the selected item's text
|
|
474
|
+
* content exceeded the input width limit.
|
|
475
|
+
*
|
|
476
|
+
* @default false
|
|
477
|
+
*/
|
|
478
|
+
wrapText?: boolean;
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
|
-
* Triggers when the data fetch request from the remote server fails.
|
|
482
|
-
*
|
|
483
|
-
* @event
|
|
484
|
-
*/
|
|
485
|
-
/* eslint-disable */
|
|
486
|
-
actionFailure?: EmitType<Object>;
|
|
481
|
+
* Triggers when the data fetch request from the remote server fails.
|
|
482
|
+
*
|
|
483
|
+
* @event
|
|
484
|
+
*/
|
|
485
|
+
/* eslint-disable */
|
|
486
|
+
actionFailure?: EmitType<Object>;
|
|
487
487
|
|
|
488
488
|
/**
|
|
489
|
-
* Fires when popup opens before animation.
|
|
490
|
-
*
|
|
491
|
-
* @event
|
|
492
|
-
*/
|
|
493
|
-
beforeOpen?: EmitType<DdtBeforeOpenEventArgs>;
|
|
489
|
+
* Fires when popup opens before animation.
|
|
490
|
+
*
|
|
491
|
+
* @event
|
|
492
|
+
*/
|
|
493
|
+
beforeOpen?: EmitType<DdtBeforeOpenEventArgs>;
|
|
494
494
|
|
|
495
495
|
/**
|
|
496
|
-
* Triggers when an item in a popup is selected or when the model value is changed by user.
|
|
497
|
-
*
|
|
498
|
-
* @event
|
|
499
|
-
*/
|
|
500
|
-
change?: EmitType<DdtChangeEventArgs>;
|
|
496
|
+
* Triggers when an item in a popup is selected or when the model value is changed by user.
|
|
497
|
+
*
|
|
498
|
+
* @event
|
|
499
|
+
*/
|
|
500
|
+
change?: EmitType<DdtChangeEventArgs>;
|
|
501
501
|
|
|
502
502
|
/**
|
|
503
|
-
* Fires when popup close after animation completion.
|
|
504
|
-
*
|
|
505
|
-
* @event
|
|
506
|
-
*/
|
|
507
|
-
close?: EmitType<DdtPopupEventArgs>;
|
|
503
|
+
* Fires when popup close after animation completion.
|
|
504
|
+
*
|
|
505
|
+
* @event
|
|
506
|
+
*/
|
|
507
|
+
close?: EmitType<DdtPopupEventArgs>;
|
|
508
508
|
|
|
509
509
|
/**
|
|
510
|
-
* Triggers when the Dropdown Tree input element gets focus-out.
|
|
511
|
-
*
|
|
512
|
-
* @event
|
|
513
|
-
*/
|
|
514
|
-
/* eslint-disable */
|
|
515
|
-
blur?: EmitType<Object>;
|
|
510
|
+
* Triggers when the Dropdown Tree input element gets focus-out.
|
|
511
|
+
*
|
|
512
|
+
* @event
|
|
513
|
+
*/
|
|
514
|
+
/* eslint-disable */
|
|
515
|
+
blur?: EmitType<Object>;
|
|
516
516
|
|
|
517
517
|
/**
|
|
518
|
-
* Triggers when the Dropdown Tree is created successfully.
|
|
519
|
-
*
|
|
520
|
-
* @event
|
|
521
|
-
*/
|
|
522
|
-
/* eslint-disable */
|
|
523
|
-
created?: EmitType<Object>;
|
|
518
|
+
* Triggers when the Dropdown Tree is created successfully.
|
|
519
|
+
*
|
|
520
|
+
* @event
|
|
521
|
+
*/
|
|
522
|
+
/* eslint-disable */
|
|
523
|
+
created?: EmitType<Object>;
|
|
524
524
|
|
|
525
525
|
/**
|
|
526
|
-
* Triggers when data source is populated in the Dropdown Tree.
|
|
527
|
-
*
|
|
528
|
-
* @event
|
|
529
|
-
*/
|
|
530
|
-
dataBound?: EmitType<DdtDataBoundEventArgs>;
|
|
526
|
+
* Triggers when data source is populated in the Dropdown Tree.
|
|
527
|
+
*
|
|
528
|
+
* @event
|
|
529
|
+
*/
|
|
530
|
+
dataBound?: EmitType<DdtDataBoundEventArgs>;
|
|
531
531
|
|
|
532
532
|
/**
|
|
533
|
-
* Triggers when the Dropdown Tree is destroyed successfully.
|
|
534
|
-
*
|
|
535
|
-
* @event
|
|
536
|
-
*/
|
|
537
|
-
/* eslint-disable */
|
|
538
|
-
destroyed?: EmitType<Object>;
|
|
533
|
+
* Triggers when the Dropdown Tree is destroyed successfully.
|
|
534
|
+
*
|
|
535
|
+
* @event
|
|
536
|
+
*/
|
|
537
|
+
/* eslint-disable */
|
|
538
|
+
destroyed?: EmitType<Object>;
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
|
-
* Triggers on typing a character in the filter bar when the **allowFiltering** is enabled.
|
|
542
|
-
*
|
|
543
|
-
* @event
|
|
544
|
-
*/
|
|
545
|
-
filtering?: EmitType<DdtFilteringEventArgs>;
|
|
541
|
+
* Triggers on typing a character in the filter bar when the **allowFiltering** is enabled.
|
|
542
|
+
*
|
|
543
|
+
* @event
|
|
544
|
+
*/
|
|
545
|
+
filtering?: EmitType<DdtFilteringEventArgs>;
|
|
546
546
|
|
|
547
547
|
/**
|
|
548
|
-
* Triggers when the Dropdown Tree input element is focused.
|
|
549
|
-
*
|
|
550
|
-
* @event
|
|
551
|
-
*/
|
|
552
|
-
focus?: EmitType<DdtFocusEventArgs>;
|
|
548
|
+
* Triggers when the Dropdown Tree input element is focused.
|
|
549
|
+
*
|
|
550
|
+
* @event
|
|
551
|
+
*/
|
|
552
|
+
focus?: EmitType<DdtFocusEventArgs>;
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
|
-
* Triggers when key press is successful. It helps to customize the operations at key press.
|
|
556
|
-
*
|
|
557
|
-
* @event
|
|
558
|
-
*/
|
|
559
|
-
keyPress?: EmitType<DdtKeyPressEventArgs>;
|
|
555
|
+
* Triggers when key press is successful. It helps to customize the operations at key press.
|
|
556
|
+
*
|
|
557
|
+
* @event
|
|
558
|
+
*/
|
|
559
|
+
keyPress?: EmitType<DdtKeyPressEventArgs>;
|
|
560
560
|
|
|
561
561
|
/**
|
|
562
|
-
* Fires when popup opens after animation completion.
|
|
563
|
-
*
|
|
564
|
-
* @event
|
|
565
|
-
*/
|
|
566
|
-
open?: EmitType<DdtPopupEventArgs>;
|
|
562
|
+
* Fires when popup opens after animation completion.
|
|
563
|
+
*
|
|
564
|
+
* @event
|
|
565
|
+
*/
|
|
566
|
+
open?: EmitType<DdtPopupEventArgs>;
|
|
567
567
|
|
|
568
568
|
/**
|
|
569
|
-
* Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
570
|
-
*
|
|
571
|
-
* @event
|
|
572
|
-
*/
|
|
573
|
-
select?: EmitType<DdtSelectEventArgs>;
|
|
569
|
+
* Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
570
|
+
*
|
|
571
|
+
* @event
|
|
572
|
+
*/
|
|
573
|
+
select?: EmitType<DdtSelectEventArgs>;
|
|
574
574
|
|
|
575
575
|
}
|