@syncfusion/ej2-dropdowns 18.2.44-4568 → 18.2.44-4570
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +244 -0
- package/CHANGELOG.md +1524 -1524
- package/README.md +118 -118
- package/dist/ej2-dropdowns.umd.min.js +1 -1
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +99 -60
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +191 -151
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +1 -1
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/ts/auto-complete/auto-complete.ts +527 -0
- package/dist/ts/combo-box/combo-box.ts +957 -0
- package/dist/ts/common/highlight-search.ts +47 -0
- package/dist/ts/common/incremental-search.ts +81 -0
- package/dist/ts/drop-down-base/drop-down-base.ts +1572 -0
- package/dist/ts/drop-down-list/drop-down-list.ts +2993 -0
- package/dist/ts/drop-down-tree/drop-down-tree.ts +3066 -0
- package/dist/ts/list-box/list-box.ts +2317 -0
- package/dist/ts/multi-select/checkbox-selection.ts +528 -0
- package/dist/ts/multi-select/float-label.ts +155 -0
- package/dist/ts/multi-select/interface.ts +66 -0
- package/dist/ts/multi-select/multi-select.ts +4216 -0
- package/helpers/e2e/index.js +3 -3
- package/license +2 -2
- package/package.json +63 -77
- package/src/auto-complete/auto-complete-model.d.ts +179 -179
- package/src/auto-complete/auto-complete.js +19 -19
- package/src/combo-box/combo-box-model.d.ts +212 -212
- package/src/combo-box/combo-box.js +19 -19
- package/src/drop-down-base/drop-down-base-model.d.ts +191 -191
- package/src/drop-down-base/drop-down-base.js +19 -19
- package/src/drop-down-list/drop-down-list-model.d.ts +222 -222
- package/src/drop-down-list/drop-down-list.js +19 -19
- package/src/drop-down-tree/drop-down-tree-model.d.ts +344 -344
- package/src/drop-down-tree/drop-down-tree.js +19 -19
- package/src/list-box/list-box-model.d.ts +156 -156
- package/src/list-box/list-box.js +19 -19
- package/src/multi-select/checkbox-selection.js +3 -1
- package/src/multi-select/multi-select-model.d.ts +452 -452
- package/src/multi-select/multi-select.d.ts +2 -0
- package/src/multi-select/multi-select.js +58 -19
- package/styles/_all.scss +3 -3
- package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
- package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
- package/styles/auto-complete/_fabric-dark-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/bootstrap-dark.css +13 -16
- package/styles/bootstrap.css +12 -15
- package/styles/bootstrap4.css +6 -10
- package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
- package/styles/combo-box/_bootstrap4-definition.scss +11 -11
- package/styles/combo-box/_fabric-dark-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/drop-down-base/_all.scss +2 -2
- package/styles/drop-down-base/_bootstrap-dark-definition.scss +64 -64
- package/styles/drop-down-base/_bootstrap-definition.scss +64 -64
- package/styles/drop-down-base/_bootstrap4-definition.scss +78 -78
- package/styles/drop-down-base/_definition.scss +23 -23
- package/styles/drop-down-base/_fabric-dark-definition.scss +68 -68
- package/styles/drop-down-base/_fabric-definition.scss +66 -66
- package/styles/drop-down-base/_highcontrast-definition.scss +82 -82
- package/styles/drop-down-base/_highcontrast-light-definition.scss +81 -81
- package/styles/drop-down-base/_layout.scss +108 -108
- package/styles/drop-down-base/_material-dark-definition.scss +67 -67
- package/styles/drop-down-base/_material-definition.scss +65 -65
- package/styles/drop-down-base/_theme.scss +242 -242
- package/styles/drop-down-list/_all.scss +2 -2
- 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 +184 -184
- package/styles/drop-down-list/_fabric-dark-definition.scss +127 -127
- package/styles/drop-down-list/_fabric-definition.scss +122 -122
- package/styles/drop-down-list/_highcontrast-definition.scss +131 -131
- package/styles/drop-down-list/_highcontrast-light-definition.scss +133 -133
- package/styles/drop-down-list/_layout.scss +218 -218
- package/styles/drop-down-list/_material-dark-definition.scss +143 -143
- package/styles/drop-down-list/_material-definition.scss +166 -166
- 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/_fabric-dark.scss +14 -14
- package/styles/drop-down-list/icons/_fabric.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/material.css +9 -0
- package/styles/drop-down-tree/_all.scss +2 -2
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +61 -61
- package/styles/drop-down-tree/_bootstrap-definition.scss +61 -61
- package/styles/drop-down-tree/_bootstrap4-definition.scss +62 -62
- package/styles/drop-down-tree/_fabric-dark-definition.scss +62 -62
- package/styles/drop-down-tree/_fabric-definition.scss +62 -62
- package/styles/drop-down-tree/_highcontrast-definition.scss +62 -62
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +62 -62
- package/styles/drop-down-tree/_layout.scss +437 -437
- package/styles/drop-down-tree/_material-dark-definition.scss +60 -60
- package/styles/drop-down-tree/_material-definition.scss +60 -60
- package/styles/drop-down-tree/_theme.scss +68 -68
- 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/_fabric-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_fabric.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/material.css +9 -0
- package/styles/fabric-dark.css +2 -5
- package/styles/fabric.css +1 -4
- package/styles/highcontrast-light.css +2 -5
- package/styles/highcontrast.css +2 -7
- package/styles/list-box/_all.scss +2 -2
- package/styles/list-box/_bootstrap-dark-definition.scss +118 -118
- package/styles/list-box/_bootstrap-definition.scss +112 -112
- package/styles/list-box/_bootstrap4-definition.scss +118 -118
- package/styles/list-box/_fabric-dark-definition.scss +118 -118
- package/styles/list-box/_fabric-definition.scss +112 -112
- package/styles/list-box/_highcontrast-definition.scss +112 -112
- package/styles/list-box/_highcontrast-light-definition.scss +118 -118
- package/styles/list-box/_layout.scss +458 -458
- package/styles/list-box/_material-dark-definition.scss +118 -118
- package/styles/list-box/_material-definition.scss +112 -112
- package/styles/list-box/_theme.scss +273 -273
- 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/_fabric-dark.scss +25 -25
- package/styles/list-box/icons/_fabric.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/material-dark.css +8 -11
- package/styles/material.css +34 -10
- package/styles/multi-select/_all.scss +2 -2
- package/styles/multi-select/_bootstrap-dark-definition.scss +171 -171
- package/styles/multi-select/_bootstrap-definition.scss +166 -166
- package/styles/multi-select/_bootstrap4-definition.scss +233 -233
- package/styles/multi-select/_fabric-dark-definition.scss +170 -170
- package/styles/multi-select/_fabric-definition.scss +167 -167
- package/styles/multi-select/_highcontrast-definition.scss +257 -259
- package/styles/multi-select/_highcontrast-light-definition.scss +258 -258
- package/styles/multi-select/_layout.scss +1153 -1153
- package/styles/multi-select/_material-dark-definition.scss +186 -186
- package/styles/multi-select/_material-definition.scss +191 -191
- package/styles/multi-select/_theme.scss +384 -389
- package/styles/multi-select/bootstrap-dark.css +13 -16
- package/styles/multi-select/bootstrap.css +12 -15
- package/styles/multi-select/bootstrap4.css +6 -10
- package/styles/multi-select/fabric-dark.css +2 -5
- package/styles/multi-select/fabric.css +1 -4
- package/styles/multi-select/highcontrast-light.css +2 -5
- package/styles/multi-select/highcontrast.css +2 -7
- 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/_fabric-dark.scss +26 -26
- package/styles/multi-select/icons/_fabric.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 +26 -26
- package/styles/multi-select/icons/_material.scss +324 -324
- package/styles/multi-select/material-dark.css +8 -11
- package/styles/multi-select/material.css +16 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, EventHandler, addClass, append, Property, Event, KeyboardEvents, EmitType, L10n, compile } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Component, EventHandler, addClass, append, Property, Event, KeyboardEvents, EmitType, L10n, compile } from '@syncfusion/ej2-base';
|
|
2
2
|
import {FilterType,SelectEventArgs} from "./drop-down-base";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -8,35 +8,35 @@ 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
|
-
* @default null
|
|
13
|
-
*/
|
|
14
|
-
text?: string;
|
|
11
|
+
* Maps the text column from data table for each list item
|
|
12
|
+
* @default null
|
|
13
|
+
*/
|
|
14
|
+
text?: string;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* Maps the value column from data table for each list item
|
|
18
|
-
* @default null
|
|
19
|
-
*/
|
|
20
|
-
value?: string;
|
|
17
|
+
* Maps the value column from data table for each list item
|
|
18
|
+
* @default null
|
|
19
|
+
*/
|
|
20
|
+
value?: string;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Maps the icon class column from data table for each list item.
|
|
24
|
-
* @default null
|
|
25
|
-
*/
|
|
26
|
-
iconCss?: string;
|
|
23
|
+
* Maps the icon class column from data table for each list item.
|
|
24
|
+
* @default null
|
|
25
|
+
*/
|
|
26
|
+
iconCss?: string;
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* Group the list items with it's related items by mapping groupBy field.
|
|
30
|
-
* @default null
|
|
31
|
-
*/
|
|
32
|
-
groupBy?: string;
|
|
29
|
+
* Group the list items with it's related items by mapping groupBy field.
|
|
30
|
+
* @default null
|
|
31
|
+
*/
|
|
32
|
+
groupBy?: string;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* Allows additional attributes such as title, disabled, etc., to configure the elements
|
|
36
|
-
* in various ways to meet the criteria.
|
|
37
|
-
* @default null
|
|
38
|
-
*/
|
|
39
|
-
htmlAttributes?: string;
|
|
35
|
+
* Allows additional attributes such as title, disabled, etc., to configure the elements
|
|
36
|
+
* in various ways to meet the criteria.
|
|
37
|
+
* @default null
|
|
38
|
+
*/
|
|
39
|
+
htmlAttributes?: string;
|
|
40
40
|
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -46,216 +46,216 @@ export interface FieldSettingsModel {
|
|
|
46
46
|
export interface DropDownBaseModel extends ComponentModel{
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* The `fields` property maps the columns of the data table and binds the data to the component.
|
|
50
|
-
* * text - Maps the text column from data table for each list item.
|
|
51
|
-
* * value - Maps the value column from data table for each list item.
|
|
52
|
-
* * iconCss - Maps the icon class column from data table for each list item.
|
|
53
|
-
* * groupBy - Group the list items with it's related items by mapping groupBy field.
|
|
54
|
-
* ```html
|
|
55
|
-
* <input type="text" tabindex="1" id="list"> </input>
|
|
56
|
-
* ```
|
|
57
|
-
* ```typescript
|
|
58
|
-
* let customers: DropDownList = new DropDownList({
|
|
59
|
-
* dataSource:new DataManager({ url:'http://js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/' }),
|
|
60
|
-
* query: new Query().from('Customers').select(['ContactName', 'CustomerID']).take(5),
|
|
61
|
-
* fields: { text: 'ContactName', value: 'CustomerID' },
|
|
62
|
-
* placeholder: 'Select a customer'
|
|
63
|
-
* });
|
|
64
|
-
* customers.appendTo("#list");
|
|
65
|
-
* ```
|
|
66
|
-
* @default {text: null, value: null, iconCss: null, groupBy: null}
|
|
67
|
-
* @deprecated
|
|
68
|
-
*/
|
|
69
|
-
fields?: FieldSettingsModel;
|
|
49
|
+
* The `fields` property maps the columns of the data table and binds the data to the component.
|
|
50
|
+
* * text - Maps the text column from data table for each list item.
|
|
51
|
+
* * value - Maps the value column from data table for each list item.
|
|
52
|
+
* * iconCss - Maps the icon class column from data table for each list item.
|
|
53
|
+
* * groupBy - Group the list items with it's related items by mapping groupBy field.
|
|
54
|
+
* ```html
|
|
55
|
+
* <input type="text" tabindex="1" id="list"> </input>
|
|
56
|
+
* ```
|
|
57
|
+
* ```typescript
|
|
58
|
+
* let customers: DropDownList = new DropDownList({
|
|
59
|
+
* dataSource:new DataManager({ url:'http://js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/' }),
|
|
60
|
+
* query: new Query().from('Customers').select(['ContactName', 'CustomerID']).take(5),
|
|
61
|
+
* fields: { text: 'ContactName', value: 'CustomerID' },
|
|
62
|
+
* placeholder: 'Select a customer'
|
|
63
|
+
* });
|
|
64
|
+
* customers.appendTo("#list");
|
|
65
|
+
* ```
|
|
66
|
+
* @default {text: null, value: null, iconCss: null, groupBy: null}
|
|
67
|
+
* @deprecated
|
|
68
|
+
*/
|
|
69
|
+
fields?: FieldSettingsModel;
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* Enable or disable persisting component's state between page reloads.
|
|
73
|
-
* If enabled, following list of states will be persisted.
|
|
74
|
-
* 1. value
|
|
75
|
-
* @default false
|
|
76
|
-
* @deprecated
|
|
77
|
-
*/
|
|
78
|
-
enablePersistence?: boolean;
|
|
72
|
+
* Enable or disable persisting component's state between page reloads.
|
|
73
|
+
* If enabled, following list of states will be persisted.
|
|
74
|
+
* 1. value
|
|
75
|
+
* @default false
|
|
76
|
+
* @deprecated
|
|
77
|
+
*/
|
|
78
|
+
enablePersistence?: boolean;
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
|
-
* Accepts the template design and assigns it to each list item present in the popup.
|
|
82
|
-
* We have built-in `template engine`
|
|
83
|
-
*
|
|
84
|
-
* which provides options to compile template string into a executable function.
|
|
85
|
-
* For EX: We have expression evolution as like ES6 expression string literals.
|
|
86
|
-
* @default null
|
|
87
|
-
* @deprecated
|
|
88
|
-
*/
|
|
89
|
-
itemTemplate?: string;
|
|
81
|
+
* Accepts the template design and assigns it to each list item present in the popup.
|
|
82
|
+
* We have built-in `template engine`
|
|
83
|
+
*
|
|
84
|
+
* which provides options to compile template string into a executable function.
|
|
85
|
+
* For EX: We have expression evolution as like ES6 expression string literals.
|
|
86
|
+
* @default null
|
|
87
|
+
* @deprecated
|
|
88
|
+
*/
|
|
89
|
+
itemTemplate?: string;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* Accepts the template design and assigns it to the group headers present in the popup list.
|
|
93
|
-
* @default null
|
|
94
|
-
* @deprecated
|
|
95
|
-
*/
|
|
96
|
-
groupTemplate?: string;
|
|
92
|
+
* Accepts the template design and assigns it to the group headers present in the popup list.
|
|
93
|
+
* @default null
|
|
94
|
+
* @deprecated
|
|
95
|
+
*/
|
|
96
|
+
groupTemplate?: string;
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
* Accepts the template design and assigns it to popup list of component
|
|
100
|
-
* when no data is available on the component.
|
|
101
|
-
* @default 'No records found'
|
|
102
|
-
* @deprecated
|
|
103
|
-
*/
|
|
104
|
-
noRecordsTemplate?: string;
|
|
99
|
+
* Accepts the template design and assigns it to popup list of component
|
|
100
|
+
* when no data is available on the component.
|
|
101
|
+
* @default 'No records found'
|
|
102
|
+
* @deprecated
|
|
103
|
+
*/
|
|
104
|
+
noRecordsTemplate?: string;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* Accepts the template and assigns it to the popup list content of the component
|
|
108
|
-
* when the data fetch request from the remote server fails.
|
|
109
|
-
* @default 'Request failed'
|
|
110
|
-
* @deprecated
|
|
111
|
-
*/
|
|
112
|
-
actionFailureTemplate?: string;
|
|
107
|
+
* Accepts the template and assigns it to the popup list content of the component
|
|
108
|
+
* when the data fetch request from the remote server fails.
|
|
109
|
+
* @default 'Request failed'
|
|
110
|
+
* @deprecated
|
|
111
|
+
*/
|
|
112
|
+
actionFailureTemplate?: string;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
* Specifies the `sortOrder` to sort the data source. The available type of sort orders are
|
|
116
|
-
* * `None` - The data source is not sorting.
|
|
117
|
-
* * `Ascending` - The data source is sorting with ascending order.
|
|
118
|
-
* * `Descending` - The data source is sorting with descending order.
|
|
119
|
-
* @default None
|
|
120
|
-
* @deprecated
|
|
121
|
-
*/
|
|
122
|
-
sortOrder?: SortOrder;
|
|
115
|
+
* Specifies the `sortOrder` to sort the data source. The available type of sort orders are
|
|
116
|
+
* * `None` - The data source is not sorting.
|
|
117
|
+
* * `Ascending` - The data source is sorting with ascending order.
|
|
118
|
+
* * `Descending` - The data source is sorting with descending order.
|
|
119
|
+
* @default None
|
|
120
|
+
* @deprecated
|
|
121
|
+
*/
|
|
122
|
+
sortOrder?: SortOrder;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
|
-
* Specifies a value that indicates whether the component is enabled or not.
|
|
126
|
-
* @default true
|
|
127
|
-
* @deprecated
|
|
128
|
-
*/
|
|
129
|
-
enabled?: boolean;
|
|
125
|
+
* Specifies a value that indicates whether the component is enabled or not.
|
|
126
|
+
* @default true
|
|
127
|
+
* @deprecated
|
|
128
|
+
*/
|
|
129
|
+
enabled?: boolean;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
* Accepts the list items either through local or remote service and binds it to the component.
|
|
133
|
-
* It can be an array of JSON Objects or an instance of
|
|
134
|
-
* `DataManager`.
|
|
135
|
-
* @default []
|
|
136
|
-
* @deprecated
|
|
137
|
-
*/
|
|
138
|
-
dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
|
|
132
|
+
* Accepts the list items either through local or remote service and binds it to the component.
|
|
133
|
+
* It can be an array of JSON Objects or an instance of
|
|
134
|
+
* `DataManager`.
|
|
135
|
+
* @default []
|
|
136
|
+
* @deprecated
|
|
137
|
+
*/
|
|
138
|
+
dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
* Accepts the external `Query`
|
|
142
|
-
* which will execute along with the data processing.
|
|
143
|
-
* @default null
|
|
144
|
-
* @deprecated
|
|
145
|
-
*/
|
|
146
|
-
query?: Query;
|
|
141
|
+
* Accepts the external `Query`
|
|
142
|
+
* which will execute along with the data processing.
|
|
143
|
+
* @default null
|
|
144
|
+
* @deprecated
|
|
145
|
+
*/
|
|
146
|
+
query?: Query;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* Determines on which filter type, the component needs to be considered on search action.
|
|
150
|
-
* The `FilterType` and its supported data types are
|
|
151
|
-
*
|
|
152
|
-
* <table>
|
|
153
|
-
* <tr>
|
|
154
|
-
* <td colSpan=1 rowSpan=1>
|
|
155
|
-
* FilterType<br/></td><td colSpan=1 rowSpan=1>
|
|
156
|
-
* Description<br/></td><td colSpan=1 rowSpan=1>
|
|
157
|
-
* Supported Types<br/></td></tr>
|
|
158
|
-
* <tr>
|
|
159
|
-
* <td colSpan=1 rowSpan=1>
|
|
160
|
-
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
161
|
-
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
162
|
-
* String<br/></td></tr>
|
|
163
|
-
* <tr>
|
|
164
|
-
* <td colSpan=1 rowSpan=1>
|
|
165
|
-
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
166
|
-
* Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
167
|
-
* <br/>String<br/></td></tr>
|
|
168
|
-
* <tr>
|
|
169
|
-
* <td colSpan=1 rowSpan=1>
|
|
170
|
-
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
171
|
-
* Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
172
|
-
* <br/>String<br/></td></tr>
|
|
173
|
-
* </table>
|
|
174
|
-
*
|
|
175
|
-
* The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
176
|
-
* @default 'StartsWith'
|
|
177
|
-
* @deprecated
|
|
178
|
-
*/
|
|
179
|
-
filterType?: FilterType;
|
|
149
|
+
* Determines on which filter type, the component needs to be considered on search action.
|
|
150
|
+
* The `FilterType` and its supported data types are
|
|
151
|
+
*
|
|
152
|
+
* <table>
|
|
153
|
+
* <tr>
|
|
154
|
+
* <td colSpan=1 rowSpan=1>
|
|
155
|
+
* FilterType<br/></td><td colSpan=1 rowSpan=1>
|
|
156
|
+
* Description<br/></td><td colSpan=1 rowSpan=1>
|
|
157
|
+
* Supported Types<br/></td></tr>
|
|
158
|
+
* <tr>
|
|
159
|
+
* <td colSpan=1 rowSpan=1>
|
|
160
|
+
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
161
|
+
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
162
|
+
* String<br/></td></tr>
|
|
163
|
+
* <tr>
|
|
164
|
+
* <td colSpan=1 rowSpan=1>
|
|
165
|
+
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
166
|
+
* Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
167
|
+
* <br/>String<br/></td></tr>
|
|
168
|
+
* <tr>
|
|
169
|
+
* <td colSpan=1 rowSpan=1>
|
|
170
|
+
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
171
|
+
* Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
172
|
+
* <br/>String<br/></td></tr>
|
|
173
|
+
* </table>
|
|
174
|
+
*
|
|
175
|
+
* The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
176
|
+
* @default 'StartsWith'
|
|
177
|
+
* @deprecated
|
|
178
|
+
*/
|
|
179
|
+
filterType?: FilterType;
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
|
-
* When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions.
|
|
183
|
-
* By default consider the casing.
|
|
184
|
-
* @default true
|
|
185
|
-
* @deprecated
|
|
186
|
-
*/
|
|
187
|
-
ignoreCase?: boolean;
|
|
182
|
+
* When set to ‘false’, consider the `case-sensitive` on performing the search to find suggestions.
|
|
183
|
+
* By default consider the casing.
|
|
184
|
+
* @default true
|
|
185
|
+
* @deprecated
|
|
186
|
+
*/
|
|
187
|
+
ignoreCase?: boolean;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
|
-
* specifies the z-index value of the component popup element.
|
|
191
|
-
* @default 1000
|
|
192
|
-
* @deprecated
|
|
193
|
-
*/
|
|
194
|
-
zIndex?: number;
|
|
190
|
+
* specifies the z-index value of the component popup element.
|
|
191
|
+
* @default 1000
|
|
192
|
+
* @deprecated
|
|
193
|
+
*/
|
|
194
|
+
zIndex?: number;
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
|
-
* ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
|
|
198
|
-
* @deprecated
|
|
199
|
-
*/
|
|
200
|
-
ignoreAccent?: boolean;
|
|
197
|
+
* ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
|
|
198
|
+
* @deprecated
|
|
199
|
+
*/
|
|
200
|
+
ignoreAccent?: boolean;
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
|
-
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
204
|
-
* @default 'en-US'
|
|
205
|
-
* @deprecated
|
|
206
|
-
*/
|
|
207
|
-
locale?: string;
|
|
203
|
+
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
204
|
+
* @default 'en-US'
|
|
205
|
+
* @deprecated
|
|
206
|
+
*/
|
|
207
|
+
locale?: string;
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
|
-
* Triggers before fetching data from the remote server.
|
|
211
|
-
* @event
|
|
212
|
-
* @blazorProperty 'OnActionBegin'
|
|
213
|
-
* @blazorType ActionBeginEventArgs
|
|
214
|
-
*/
|
|
215
|
-
actionBegin?: EmitType<Object>;
|
|
210
|
+
* Triggers before fetching data from the remote server.
|
|
211
|
+
* @event
|
|
212
|
+
* @blazorProperty 'OnActionBegin'
|
|
213
|
+
* @blazorType ActionBeginEventArgs
|
|
214
|
+
*/
|
|
215
|
+
actionBegin?: EmitType<Object>;
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
|
-
* Triggers after data is fetched successfully from the remote server.
|
|
219
|
-
* @event
|
|
220
|
-
* @blazorProperty 'OnActionComplete'
|
|
221
|
-
* @blazorType ActionCompleteEventArgs
|
|
222
|
-
*/
|
|
223
|
-
actionComplete?: EmitType<Object>;
|
|
218
|
+
* Triggers after data is fetched successfully from the remote server.
|
|
219
|
+
* @event
|
|
220
|
+
* @blazorProperty 'OnActionComplete'
|
|
221
|
+
* @blazorType ActionCompleteEventArgs
|
|
222
|
+
*/
|
|
223
|
+
actionComplete?: EmitType<Object>;
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
|
-
* Triggers when the data fetch request from the remote server fails.
|
|
227
|
-
* @event
|
|
228
|
-
* @blazorProperty 'OnActionFailure'
|
|
229
|
-
*/
|
|
230
|
-
actionFailure?: EmitType<Object>;
|
|
226
|
+
* Triggers when the data fetch request from the remote server fails.
|
|
227
|
+
* @event
|
|
228
|
+
* @blazorProperty 'OnActionFailure'
|
|
229
|
+
*/
|
|
230
|
+
actionFailure?: EmitType<Object>;
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
|
-
* Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
234
|
-
* @event
|
|
235
|
-
* @blazorProperty 'OnValueSelect'
|
|
236
|
-
*/
|
|
237
|
-
select?: EmitType<SelectEventArgs>;
|
|
233
|
+
* Triggers when an item in the popup is selected by the user either with mouse/tap or with keyboard navigation.
|
|
234
|
+
* @event
|
|
235
|
+
* @blazorProperty 'OnValueSelect'
|
|
236
|
+
*/
|
|
237
|
+
select?: EmitType<SelectEventArgs>;
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
|
-
* Triggers when data source is populated in the popup list..
|
|
241
|
-
* @event
|
|
242
|
-
* @blazorProperty 'DataBound'
|
|
243
|
-
* @blazorType DataBoundEventArgs
|
|
244
|
-
*/
|
|
245
|
-
dataBound?: EmitType<Object>;
|
|
240
|
+
* Triggers when data source is populated in the popup list..
|
|
241
|
+
* @event
|
|
242
|
+
* @blazorProperty 'DataBound'
|
|
243
|
+
* @blazorType DataBoundEventArgs
|
|
244
|
+
*/
|
|
245
|
+
dataBound?: EmitType<Object>;
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
|
-
* Triggers when the component is created.
|
|
249
|
-
* @event
|
|
250
|
-
* @blazorProperty 'Created'
|
|
251
|
-
*/
|
|
252
|
-
created?: EmitType<Object>;
|
|
248
|
+
* Triggers when the component is created.
|
|
249
|
+
* @event
|
|
250
|
+
* @blazorProperty 'Created'
|
|
251
|
+
*/
|
|
252
|
+
created?: EmitType<Object>;
|
|
253
253
|
|
|
254
254
|
/**
|
|
255
|
-
* Triggers when the component is destroyed.
|
|
256
|
-
* @event
|
|
257
|
-
* @blazorProperty 'Destroyed'
|
|
258
|
-
*/
|
|
259
|
-
destroyed?: EmitType<Object>;
|
|
255
|
+
* Triggers when the component is destroyed.
|
|
256
|
+
* @event
|
|
257
|
+
* @blazorProperty 'Destroyed'
|
|
258
|
+
*/
|
|
259
|
+
destroyed?: EmitType<Object>;
|
|
260
260
|
|
|
261
261
|
}
|
|
@@ -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';
|