@syncfusion/ej2-dropdowns 29.2.11-81740 → 29.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +261 -0
- package/{ReadMe.md → README.md} +217 -217
- package/dist/ej2-dropdowns.min.js +10 -0
- package/dist/ej2-dropdowns.umd.min.js +10 -1
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +69 -80
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +226 -237
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +11 -0
- package/dist/global/ej2-dropdowns.min.js.map +1 -0
- package/dist/global/index.d.ts +14 -0
- package/helpers/e2e/autocomplete.d.ts +16 -0
- package/helpers/e2e/autocomplete.js +60 -0
- package/helpers/e2e/combobox.d.ts +17 -0
- package/helpers/e2e/combobox.js +63 -0
- package/helpers/e2e/dropdownlist.d.ts +20 -0
- package/helpers/e2e/dropdownlist.js +72 -0
- package/helpers/e2e/index.d.ts +4 -0
- package/helpers/e2e/index.js +11 -0
- package/helpers/e2e/listboxHelper.d.ts +22 -0
- package/helpers/e2e/listboxHelper.js +56 -0
- package/helpers/e2e/multiselect.d.ts +31 -0
- package/helpers/e2e/multiselect.js +105 -0
- package/license +2 -2
- package/package.json +36 -36
- package/src/auto-complete/auto-complete-model.d.ts +190 -190
- package/src/auto-complete/auto-complete.d.ts +12 -12
- package/src/auto-complete/auto-complete.js +21 -21
- package/src/combo-box/combo-box-model.d.ts +232 -232
- package/src/combo-box/combo-box.d.ts +26 -26
- package/src/combo-box/combo-box.js +29 -29
- package/src/common/incremental-search.js +1 -1
- package/src/common/virtual-scroll.js +46 -46
- package/src/drop-down-base/drop-down-base-model.d.ts +205 -205
- package/src/drop-down-base/drop-down-base.d.ts +15 -15
- package/src/drop-down-base/drop-down-base.js +20 -20
- package/src/drop-down-list/drop-down-list-model.d.ts +310 -310
- package/src/drop-down-list/drop-down-list.d.ts +5 -5
- package/src/drop-down-list/drop-down-list.js +21 -21
- package/src/drop-down-tree/drop-down-tree-model.d.ts +493 -493
- package/src/drop-down-tree/drop-down-tree.d.ts +1 -1
- package/src/drop-down-tree/drop-down-tree.js +19 -19
- package/src/list-box/list-box-model.d.ts +237 -237
- package/src/list-box/list-box.d.ts +2 -2
- package/src/list-box/list-box.js +19 -19
- package/src/mention/mention-model.d.ts +272 -272
- package/src/mention/mention.d.ts +1 -1
- package/src/mention/mention.js +27 -29
- package/src/multi-select/multi-select-model.d.ts +564 -564
- package/src/multi-select/multi-select.d.ts +1 -1
- package/src/multi-select/multi-select.js +25 -34
- package/styles/auto-complete/_all.scss +1 -1
- package/styles/auto-complete/_bds-definition.scss +2 -2
- package/styles/auto-complete/_bootstrap-dark-definition.scss +3 -3
- package/styles/auto-complete/_bootstrap-definition.scss +2 -2
- package/styles/auto-complete/_bootstrap4-definition.scss +11 -11
- package/styles/auto-complete/_bootstrap5-definition.scss +2 -2
- package/styles/auto-complete/_bootstrap5.3-definition.scss +2 -2
- package/styles/auto-complete/_fabric-dark-definition.scss +2 -2
- package/styles/auto-complete/_fabric-definition.scss +2 -2
- package/styles/auto-complete/_fluent-definition.scss +2 -2
- package/styles/auto-complete/_fluent2-definition.scss +2 -2
- package/styles/auto-complete/_fusionnew-definition.scss +2 -2
- package/styles/auto-complete/_highcontrast-definition.scss +2 -2
- package/styles/auto-complete/_highcontrast-light-definition.scss +2 -2
- package/styles/auto-complete/_material-dark-definition.scss +2 -2
- package/styles/auto-complete/_material-definition.scss +2 -2
- package/styles/auto-complete/_material3-definition.scss +2 -2
- package/styles/auto-complete/_tailwind-definition.scss +2 -2
- package/styles/auto-complete/_tailwind3-definition.scss +2 -2
- package/styles/auto-complete/material3-dark.scss +1 -1
- package/styles/auto-complete/material3.scss +1 -1
- package/styles/combo-box/_all.scss +1 -1
- package/styles/combo-box/_bds-definition.scss +2 -2
- package/styles/combo-box/_bootstrap-dark-definition.scss +2 -2
- package/styles/combo-box/_bootstrap-definition.scss +2 -2
- package/styles/combo-box/_bootstrap4-definition.scss +11 -11
- package/styles/combo-box/_bootstrap5-definition.scss +2 -2
- package/styles/combo-box/_bootstrap5.3-definition.scss +2 -2
- package/styles/combo-box/_fabric-dark-definition.scss +2 -2
- package/styles/combo-box/_fabric-definition.scss +2 -2
- package/styles/combo-box/_fluent-definition.scss +2 -2
- package/styles/combo-box/_fluent2-definition.scss +2 -2
- package/styles/combo-box/_fusionnew-definition.scss +2 -2
- package/styles/combo-box/_highcontrast-definition.scss +2 -2
- package/styles/combo-box/_highcontrast-light-definition.scss +3 -3
- package/styles/combo-box/_material-dark-definition.scss +2 -2
- package/styles/combo-box/_material-definition.scss +2 -2
- package/styles/combo-box/_material3-definition.scss +2 -2
- package/styles/combo-box/_tailwind-definition.scss +2 -2
- package/styles/combo-box/_tailwind3-definition.scss +2 -2
- package/styles/combo-box/material3-dark.scss +1 -1
- package/styles/combo-box/material3.scss +1 -1
- package/styles/drop-down-base/_all.scss +2 -2
- package/styles/drop-down-base/_bds-definition.scss +112 -112
- package/styles/drop-down-base/_bigger.scss +198 -198
- package/styles/drop-down-base/_bootstrap-dark-definition.scss +80 -80
- package/styles/drop-down-base/_bootstrap-definition.scss +78 -78
- package/styles/drop-down-base/_bootstrap4-definition.scss +83 -83
- package/styles/drop-down-base/_bootstrap5-definition.scss +98 -98
- package/styles/drop-down-base/_bootstrap5.3-definition.scss +98 -98
- package/styles/drop-down-base/_definition.scss +23 -23
- package/styles/drop-down-base/_fabric-dark-definition.scss +81 -81
- package/styles/drop-down-base/_fabric-definition.scss +79 -79
- package/styles/drop-down-base/_fluent-definition.scss +102 -102
- package/styles/drop-down-base/_fluent2-definition.scss +113 -113
- package/styles/drop-down-base/_fusionnew-definition.scss +98 -98
- package/styles/drop-down-base/_highcontrast-definition.scss +96 -96
- package/styles/drop-down-base/_highcontrast-light-definition.scss +96 -96
- package/styles/drop-down-base/_layout.scss +148 -148
- package/styles/drop-down-base/_material-dark-definition.scss +82 -82
- package/styles/drop-down-base/_material-definition.scss +81 -81
- package/styles/drop-down-base/_material3-definition.scss +73 -73
- package/styles/drop-down-base/_tailwind-definition.scss +107 -107
- package/styles/drop-down-base/_tailwind3-definition.scss +98 -98
- package/styles/drop-down-base/_theme.scss +303 -303
- package/styles/drop-down-base/material3-dark.scss +1 -1
- package/styles/drop-down-base/material3.scss +1 -1
- package/styles/drop-down-list/_all.scss +3 -3
- package/styles/drop-down-list/_bds-definition.scss +100 -100
- package/styles/drop-down-list/_bigger.scss +713 -713
- package/styles/drop-down-list/_bootstrap-dark-definition.scss +94 -94
- package/styles/drop-down-list/_bootstrap-definition.scss +93 -93
- package/styles/drop-down-list/_bootstrap4-definition.scss +122 -122
- package/styles/drop-down-list/_bootstrap5-definition.scss +135 -135
- package/styles/drop-down-list/_bootstrap5.3-definition.scss +136 -136
- package/styles/drop-down-list/_fabric-dark-definition.scss +72 -72
- package/styles/drop-down-list/_fabric-definition.scss +69 -69
- package/styles/drop-down-list/_fluent-definition.scss +128 -128
- package/styles/drop-down-list/_fluent2-definition.scss +101 -101
- package/styles/drop-down-list/_fusionnew-definition.scss +134 -134
- package/styles/drop-down-list/_highcontrast-definition.scss +83 -83
- package/styles/drop-down-list/_highcontrast-light-definition.scss +85 -85
- package/styles/drop-down-list/_layout.scss +284 -284
- package/styles/drop-down-list/_material-dark-definition.scss +110 -110
- package/styles/drop-down-list/_material-definition.scss +112 -112
- package/styles/drop-down-list/_material3-definition.scss +114 -114
- package/styles/drop-down-list/_tailwind-definition.scss +100 -100
- package/styles/drop-down-list/_tailwind3-definition.scss +135 -135
- package/styles/drop-down-list/_theme.scss +17 -17
- package/styles/drop-down-list/icons/_bds.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap-dark.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap4.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap5.3.scss +18 -18
- package/styles/drop-down-list/icons/_bootstrap5.scss +18 -18
- package/styles/drop-down-list/icons/_fabric-dark.scss +18 -18
- package/styles/drop-down-list/icons/_fabric.scss +18 -18
- package/styles/drop-down-list/icons/_fluent.scss +18 -18
- package/styles/drop-down-list/icons/_fluent2.scss +18 -18
- package/styles/drop-down-list/icons/_fusionnew.scss +14 -14
- package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
- package/styles/drop-down-list/icons/_highcontrast.scss +18 -18
- package/styles/drop-down-list/icons/_material-dark.scss +18 -18
- package/styles/drop-down-list/icons/_material.scss +18 -18
- package/styles/drop-down-list/icons/_material3.scss +18 -18
- package/styles/drop-down-list/icons/_tailwind.scss +18 -18
- package/styles/drop-down-list/icons/_tailwind3.scss +14 -14
- package/styles/drop-down-list/material3-dark.scss +1 -1
- package/styles/drop-down-list/material3.scss +1 -1
- package/styles/drop-down-tree/_all.scss +2 -2
- package/styles/drop-down-tree/_bds-definition.scss +74 -74
- package/styles/drop-down-tree/_bigger.scss +561 -561
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +81 -81
- package/styles/drop-down-tree/_bootstrap-definition.scss +81 -81
- package/styles/drop-down-tree/_bootstrap4-definition.scss +85 -85
- package/styles/drop-down-tree/_bootstrap5-definition.scss +73 -73
- package/styles/drop-down-tree/_bootstrap5.3-definition.scss +74 -74
- package/styles/drop-down-tree/_fabric-dark-definition.scss +81 -81
- package/styles/drop-down-tree/_fabric-definition.scss +81 -81
- package/styles/drop-down-tree/_fluent-definition.scss +78 -78
- package/styles/drop-down-tree/_fluent2-definition.scss +85 -85
- package/styles/drop-down-tree/_fusionnew-definition.scss +69 -69
- package/styles/drop-down-tree/_highcontrast-definition.scss +81 -81
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +81 -81
- package/styles/drop-down-tree/_layout.scss +942 -942
- package/styles/drop-down-tree/_material-dark-definition.scss +82 -82
- package/styles/drop-down-tree/_material-definition.scss +84 -84
- package/styles/drop-down-tree/_material3-definition.scss +84 -84
- package/styles/drop-down-tree/_tailwind-definition.scss +74 -74
- package/styles/drop-down-tree/_tailwind3-definition.scss +75 -75
- package/styles/drop-down-tree/_theme.scss +135 -135
- package/styles/drop-down-tree/icons/_bds.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap4.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap5.3.scss +11 -11
- package/styles/drop-down-tree/icons/_bootstrap5.scss +11 -11
- package/styles/drop-down-tree/icons/_fabric-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_fabric.scss +11 -11
- package/styles/drop-down-tree/icons/_fluent.scss +11 -11
- package/styles/drop-down-tree/icons/_fluent2.scss +14 -14
- package/styles/drop-down-tree/icons/_fusionnew.scss +11 -11
- package/styles/drop-down-tree/icons/_highcontrast-light.scss +11 -11
- package/styles/drop-down-tree/icons/_highcontrast.scss +11 -11
- package/styles/drop-down-tree/icons/_material-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_material.scss +11 -11
- package/styles/drop-down-tree/icons/_material3.scss +11 -11
- package/styles/drop-down-tree/icons/_tailwind-dark.scss +11 -11
- package/styles/drop-down-tree/icons/_tailwind.scss +11 -11
- package/styles/drop-down-tree/icons/_tailwind3.scss +11 -11
- package/styles/drop-down-tree/material3-dark.scss +1 -1
- package/styles/drop-down-tree/material3.scss +1 -1
- package/styles/list-box/_all.scss +2 -2
- package/styles/list-box/_bds-definition.scss +136 -136
- package/styles/list-box/_bigger.scss +190 -190
- package/styles/list-box/_bootstrap-dark-definition.scss +126 -126
- package/styles/list-box/_bootstrap-definition.scss +119 -119
- package/styles/list-box/_bootstrap4-definition.scss +126 -126
- package/styles/list-box/_bootstrap5-definition.scss +121 -121
- package/styles/list-box/_bootstrap5.3-definition.scss +123 -123
- package/styles/list-box/_fabric-dark-definition.scss +124 -124
- package/styles/list-box/_fabric-definition.scss +119 -119
- package/styles/list-box/_fluent-definition.scss +120 -120
- package/styles/list-box/_fluent2-definition.scss +121 -121
- package/styles/list-box/_fusionnew-definition.scss +111 -111
- package/styles/list-box/_highcontrast-definition.scss +119 -119
- package/styles/list-box/_highcontrast-light-definition.scss +124 -124
- package/styles/list-box/_layout.scss +496 -496
- package/styles/list-box/_material-dark-definition.scss +124 -124
- package/styles/list-box/_material-definition.scss +119 -119
- package/styles/list-box/_material3-definition.scss +119 -119
- package/styles/list-box/_tailwind-definition.scss +119 -119
- package/styles/list-box/_tailwind3-definition.scss +123 -123
- package/styles/list-box/_theme.scss +327 -327
- package/styles/list-box/icons/_bds.scss +25 -25
- package/styles/list-box/icons/_bootstrap-dark.scss +25 -25
- package/styles/list-box/icons/_bootstrap.scss +25 -25
- package/styles/list-box/icons/_bootstrap4.scss +25 -25
- package/styles/list-box/icons/_bootstrap5.3.scss +25 -25
- package/styles/list-box/icons/_bootstrap5.scss +25 -25
- package/styles/list-box/icons/_fabric-dark.scss +25 -25
- package/styles/list-box/icons/_fabric.scss +25 -25
- package/styles/list-box/icons/_fluent.scss +25 -25
- package/styles/list-box/icons/_fluent2.scss +25 -25
- package/styles/list-box/icons/_fusionnew.scss +25 -25
- package/styles/list-box/icons/_highcontrast-light.scss +25 -25
- package/styles/list-box/icons/_highcontrast.scss +25 -25
- package/styles/list-box/icons/_material-dark.scss +25 -25
- package/styles/list-box/icons/_material.scss +25 -25
- package/styles/list-box/icons/_material3.scss +25 -25
- package/styles/list-box/icons/_tailwind-dark.scss +25 -25
- package/styles/list-box/icons/_tailwind.scss +25 -25
- package/styles/list-box/icons/_tailwind3.scss +25 -25
- package/styles/list-box/material3-dark.scss +1 -1
- package/styles/list-box/material3.scss +1 -1
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.scss +1 -1
- package/styles/mention/_all.scss +1 -1
- package/styles/mention/_bds-definition.scss +1 -1
- package/styles/mention/_bootstrap-dark-definition.scss +3 -3
- package/styles/mention/_bootstrap-definition.scss +3 -3
- package/styles/mention/_bootstrap4-definition.scss +3 -3
- package/styles/mention/_bootstrap5-definition.scss +1 -1
- package/styles/mention/_bootstrap5.3-definition.scss +1 -1
- package/styles/mention/_fabric-dark-definition.scss +2 -2
- package/styles/mention/_fabric-definition.scss +3 -3
- package/styles/mention/_fluent-definition.scss +1 -1
- package/styles/mention/_fluent2-definition.scss +1 -1
- package/styles/mention/_fusionnew-definition.scss +1 -1
- package/styles/mention/_highcontrast-definition.scss +3 -3
- package/styles/mention/_highcontrast-light-definition.scss +3 -3
- package/styles/mention/_layout.scss +6 -6
- package/styles/mention/_material-dark-definition.scss +3 -3
- package/styles/mention/_material-definition.scss +3 -3
- package/styles/mention/_material3-definition.scss +1 -1
- package/styles/mention/_tailwind-definition.scss +1 -1
- package/styles/mention/_tailwind3-definition.scss +1 -1
- package/styles/mention/material3-dark.scss +1 -1
- package/styles/mention/material3.scss +1 -1
- package/styles/multi-select/_all.scss +2 -2
- package/styles/multi-select/_bds-definition.scss +231 -231
- package/styles/multi-select/_bigger.scss +2002 -2002
- package/styles/multi-select/_bootstrap-dark-definition.scss +198 -198
- package/styles/multi-select/_bootstrap-definition.scss +187 -187
- package/styles/multi-select/_bootstrap4-definition.scss +236 -236
- package/styles/multi-select/_bootstrap5-definition.scss +229 -229
- package/styles/multi-select/_bootstrap5.3-definition.scss +229 -229
- package/styles/multi-select/_fabric-dark-definition.scss +190 -190
- package/styles/multi-select/_fabric-definition.scss +181 -181
- package/styles/multi-select/_fluent-definition.scss +236 -236
- package/styles/multi-select/_fluent2-definition.scss +234 -234
- package/styles/multi-select/_fusionnew-definition.scss +222 -222
- package/styles/multi-select/_highcontrast-definition.scss +302 -302
- package/styles/multi-select/_highcontrast-light-definition.scss +296 -296
- package/styles/multi-select/_layout.scss +1335 -1335
- package/styles/multi-select/_material-dark-definition.scss +248 -248
- package/styles/multi-select/_material-definition.scss +250 -250
- package/styles/multi-select/_material3-definition.scss +233 -233
- package/styles/multi-select/_tailwind-definition.scss +231 -231
- package/styles/multi-select/_tailwind3-definition.scss +227 -227
- package/styles/multi-select/_theme.scss +564 -564
- package/styles/multi-select/icons/_bds.scss +26 -26
- package/styles/multi-select/icons/_bootstrap-dark.scss +30 -30
- package/styles/multi-select/icons/_bootstrap.scss +30 -30
- package/styles/multi-select/icons/_bootstrap4.scss +32 -32
- package/styles/multi-select/icons/_bootstrap5.3.scss +30 -30
- package/styles/multi-select/icons/_bootstrap5.scss +30 -30
- package/styles/multi-select/icons/_fabric-dark.scss +30 -30
- package/styles/multi-select/icons/_fabric.scss +30 -30
- package/styles/multi-select/icons/_fluent.scss +38 -38
- package/styles/multi-select/icons/_fluent2.scss +347 -347
- package/styles/multi-select/icons/_fusionnew.scss +26 -26
- package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
- package/styles/multi-select/icons/_highcontrast.scss +30 -30
- package/styles/multi-select/icons/_material-dark.scss +348 -348
- package/styles/multi-select/icons/_material.scss +348 -348
- package/styles/multi-select/icons/_material3.scss +350 -350
- package/styles/multi-select/icons/_tailwind.scss +30 -30
- package/styles/multi-select/icons/_tailwind3.scss +26 -26
- package/styles/multi-select/material3-dark.scss +1 -1
- package/styles/multi-select/material3.scss +1 -1
- package/tslint.json +111 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DropDownBase, SelectEventArgs, dropDownBaseClasses, PopupEventArgs, FilteringEventArgs } from '../drop-down-base/drop-down-base';
|
|
1
|
+
import { DropDownBase, SelectEventArgs, dropDownBaseClasses, PopupEventArgs, FilteringEventArgs } from '../drop-down-base/drop-down-base';import { FocusEventArgs, BeforeOpenEventArgs, FilterType, FieldSettings, ResultData } from '../drop-down-base/drop-down-base';import { FieldSettingsModel } from '../drop-down-base/drop-down-base-model';import { isCollide, Popup, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import { IInput, FloatLabelType, Input } from '@syncfusion/ej2-inputs';import { attributes, setValue , getValue } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, extend } from '@syncfusion/ej2-base';import { EventHandler, Property, Event, compile, L10n, EmitType, KeyboardEventArgs } from '@syncfusion/ej2-base';import { Animation, AnimationModel, Browser, prepend, Complex } from '@syncfusion/ej2-base';import { Search } from '../common/incremental-search';import { append, addClass, removeClass, closest, detach, remove, select, selectAll } from '@syncfusion/ej2-base';import { getUniqueID, formatUnit, isNullOrUndefined, isUndefined, ModuleDeclaration } from '@syncfusion/ej2-base';import { DataManager, Query, Predicate, JsonAdaptor, DataOptions } from '@syncfusion/ej2-data';import { SortOrder } from '@syncfusion/ej2-lists';import { createFloatLabel, removeFloating, floatLabelFocus, floatLabelBlur, encodePlaceholder } from './float-label';
|
|
2
2
|
import {visualMode,MultiSelectChangeEventArgs,RemoveEventArgs,ISelectAllEventArgs,TaggingEventArgs,CustomValueEventArgs} from "./multi-select";
|
|
3
3
|
import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
|
|
4
4
|
|
|
@@ -8,616 +8,616 @@ import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
|
|
|
8
8
|
export interface MultiSelectModel extends DropDownBaseModel{
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* The `fields` property maps the columns of the data table and binds the data to the component.
|
|
12
|
-
* * text - Maps the text column from data table for each list item.
|
|
13
|
-
* * value - Maps the value column from data table for each list item.
|
|
14
|
-
* * iconCss - Maps the icon class column from data table for each list item.
|
|
15
|
-
* * groupBy - Group the list items with it's related items by mapping groupBy field.
|
|
16
|
-
* ```html
|
|
17
|
-
* <input type="text" tabindex="1" id="list"> </input>
|
|
18
|
-
* ```
|
|
19
|
-
* ```typescript
|
|
20
|
-
* let customers: MultiSelect = new MultiSelect({
|
|
21
|
-
* dataSource:new DataManager({ url:'http://js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/' }),
|
|
22
|
-
* query: new Query().from('Customers').select(['ContactName', 'CustomerID']).take(5),
|
|
23
|
-
* fields: { text: 'ContactName', value: 'CustomerID' },
|
|
24
|
-
* placeholder: 'Select a customer'
|
|
25
|
-
* });
|
|
26
|
-
* customers.appendTo("#list");
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @default {text: null, value: null, iconCss: null, groupBy: null}
|
|
30
|
-
*/
|
|
31
|
-
fields?: FieldSettingsModel;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Enable or disable persisting MultiSelect component's state between page reloads.
|
|
35
|
-
* If enabled, following list of states will be persisted.
|
|
36
|
-
* 1. value
|
|
37
|
-
*
|
|
38
|
-
* @default false
|
|
39
|
-
*/
|
|
40
|
-
enablePersistence?: boolean;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Accepts the template design and assigns it to the group headers present in the MultiSelect popup list.
|
|
44
|
-
*
|
|
45
|
-
* @default null
|
|
46
|
-
* @aspType string
|
|
47
|
-
*/
|
|
48
|
-
groupTemplate?: string | Function;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Accepts the template design and assigns it to popup list of MultiSelect component
|
|
52
|
-
* when no data is available on the component.
|
|
53
|
-
*
|
|
54
|
-
* @default 'No records found'
|
|
55
|
-
* @aspType string
|
|
56
|
-
*/
|
|
57
|
-
noRecordsTemplate?: string | Function;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Accepts the template and assigns it to the popup list content of the MultiSelect component
|
|
61
|
-
* when the data fetch request from the remote server fails.
|
|
62
|
-
*
|
|
63
|
-
* @default 'Request failed'
|
|
64
|
-
* @aspType string
|
|
65
|
-
*/
|
|
66
|
-
actionFailureTemplate?: string | Function;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Specifies the `sortOrder` to sort the data source. The available type of sort orders are
|
|
70
|
-
* * `None` - The data source is not sorting.
|
|
71
|
-
* * `Ascending` - The data source is sorting with ascending order.
|
|
72
|
-
* * `Descending` - The data source is sorting with descending order.
|
|
73
|
-
*
|
|
74
|
-
* @default null
|
|
75
|
-
* @asptype object
|
|
76
|
-
* @aspjsonconverterignore
|
|
77
|
-
*/
|
|
78
|
-
sortOrder?: SortOrder;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Specifies a value that indicates whether the MultiSelect component is enabled or not.
|
|
82
|
-
*
|
|
83
|
-
* @default true
|
|
84
|
-
*/
|
|
85
|
-
enabled?: boolean;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Defines whether to allow the cross-scripting site or not.
|
|
89
|
-
*
|
|
90
|
-
* @default true
|
|
91
|
-
*/
|
|
92
|
-
enableHtmlSanitizer?: boolean;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Defines whether to enable virtual scrolling in the component.
|
|
96
|
-
*
|
|
97
|
-
* @default false
|
|
98
|
-
*/
|
|
99
|
-
enableVirtualization?: boolean;
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Accepts the list items either through local or remote service and binds it to the MultiSelect component.
|
|
103
|
-
* It can be an array of JSON Objects or an instance of
|
|
104
|
-
* `DataManager`.
|
|
105
|
-
*
|
|
106
|
-
* @default []
|
|
107
|
-
*/
|
|
108
|
-
dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Accepts the external `Query`
|
|
112
|
-
* which will execute along with the data processing in MultiSelect.
|
|
113
|
-
*
|
|
114
|
-
* @default null
|
|
115
|
-
*/
|
|
116
|
-
query?: Query;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Determines on which filter type, the MultiSelect component needs to be considered on search action.
|
|
120
|
-
* The `FilterType` and its supported data types are
|
|
121
|
-
*
|
|
122
|
-
* <table>
|
|
123
|
-
* <tr>
|
|
124
|
-
* <td colSpan=1 rowSpan=1>
|
|
125
|
-
* FilterType<br/></td><td colSpan=1 rowSpan=1>
|
|
126
|
-
* Description<br/></td><td colSpan=1 rowSpan=1>
|
|
127
|
-
* Supported Types<br/></td></tr>
|
|
128
|
-
* <tr>
|
|
129
|
-
* <td colSpan=1 rowSpan=1>
|
|
130
|
-
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
131
|
-
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
132
|
-
* String<br/></td></tr>
|
|
133
|
-
* <tr>
|
|
134
|
-
* <td colSpan=1 rowSpan=1>
|
|
135
|
-
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
136
|
-
* Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
137
|
-
* <br/>String<br/></td></tr>
|
|
138
|
-
* <tr>
|
|
139
|
-
* <td colSpan=1 rowSpan=1>
|
|
140
|
-
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
141
|
-
* Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
142
|
-
* <br/>String<br/></td></tr>
|
|
143
|
-
* </table>
|
|
144
|
-
*
|
|
145
|
-
* The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
146
|
-
*
|
|
147
|
-
* @default 'StartsWith'
|
|
148
|
-
*/
|
|
149
|
-
filterType?: FilterType;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* specifies the z-index value of the component popup element.
|
|
153
|
-
*
|
|
154
|
-
* @default 1000
|
|
155
|
-
*/
|
|
156
|
-
zIndex?: number;
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
|
|
160
|
-
*/
|
|
161
|
-
ignoreAccent?: boolean;
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
165
|
-
*
|
|
166
|
-
* @default 'en-US'
|
|
167
|
-
*/
|
|
168
|
-
locale?: string;
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Specifies a Boolean value that indicates the whether the grouped list items are
|
|
172
|
-
* allowed to check by checking the group header in checkbox mode.
|
|
173
|
-
* By default, there is no checkbox provided for group headers.
|
|
174
|
-
* This property allows you to render checkbox for group headers and to select
|
|
175
|
-
* all the grouped items at once
|
|
176
|
-
*
|
|
177
|
-
* @default false
|
|
178
|
-
*/
|
|
179
|
-
enableGroupCheckBox?: boolean;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Sets the CSS classes to root element of this component which helps to customize the
|
|
183
|
-
* complete styles.
|
|
184
|
-
*
|
|
185
|
-
* @default null
|
|
186
|
-
*/
|
|
187
|
-
cssClass?: string;
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Gets or sets the width of the component. By default, it sizes based on its parent.
|
|
191
|
-
* container dimension.
|
|
192
|
-
*
|
|
193
|
-
* @default '100%'
|
|
194
|
-
* @aspType string
|
|
195
|
-
*/
|
|
196
|
-
width?: string | number;
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* Gets or sets the height of the popup list. By default it renders based on its list item.
|
|
200
|
-
* > For more details about the popup configuration refer to
|
|
201
|
-
* [`Popup Configuration`](../../multi-select/getting-started/#configure-the-popup-list) documentation.
|
|
202
|
-
*
|
|
203
|
-
* @default '300px'
|
|
204
|
-
* @aspType string
|
|
205
|
-
*/
|
|
206
|
-
popupHeight?: string | number;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Gets or sets the width of the popup list and percentage values has calculated based on input width.
|
|
210
|
-
* > For more details about the popup configuration refer to
|
|
211
|
-
* [`Popup Configuration`](../../multi-select/getting-started/#configure-the-popup-list) documentation.
|
|
212
|
-
*
|
|
213
|
-
* @default '100%'
|
|
214
|
-
* @aspType string
|
|
215
|
-
*/
|
|
216
|
-
popupWidth?: string | number;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Gets or sets the placeholder in the component to display the given information
|
|
220
|
-
* in input when no item selected.
|
|
221
|
-
*
|
|
222
|
-
* @default null
|
|
223
|
-
*/
|
|
224
|
-
placeholder?: string;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Accepts the value to be displayed as a watermark text on the filter bar.
|
|
228
|
-
*
|
|
229
|
-
* @default null
|
|
230
|
-
*/
|
|
231
|
-
filterBarPlaceholder?: string;
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Gets or sets the additional attribute to `HtmlAttributes` property in MultiSelect,
|
|
235
|
-
* which helps to add attribute like title, name etc, input should be key value pair.
|
|
236
|
-
*
|
|
237
|
-
* {% codeBlock src='multiselect/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
238
|
-
*
|
|
239
|
-
* @default {}
|
|
240
|
-
*/
|
|
241
|
-
htmlAttributes?: { [key: string]: string };
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* Accepts the template design and assigns it to the selected list item in the input element of the component.
|
|
245
|
-
* For more details about the available template options refer to
|
|
246
|
-
* [`Template`](../../multi-select/templates) documentation.
|
|
247
|
-
*
|
|
248
|
-
* We have built-in `template engine`
|
|
249
|
-
* which provides options to compile template string into a executable function.
|
|
250
|
-
* For EX: We have expression evolution as like ES6 expression string literals.
|
|
251
|
-
*
|
|
252
|
-
* @default null
|
|
253
|
-
* @aspType string
|
|
254
|
-
*/
|
|
255
|
-
valueTemplate?: string | Function;
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
* Accepts the template design and assigns it to the header container of the popup list.
|
|
259
|
-
* > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
|
|
260
|
-
*
|
|
261
|
-
* @default null
|
|
262
|
-
* @aspType string
|
|
263
|
-
*/
|
|
264
|
-
headerTemplate?: string | Function;
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* Accepts the template design and assigns it to the footer container of the popup list.
|
|
268
|
-
* > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
|
|
269
|
-
*
|
|
270
|
-
* @default null
|
|
271
|
-
* @aspType string
|
|
272
|
-
*/
|
|
273
|
-
footerTemplate?: string | Function;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* Accepts the template design and assigns it to each list item present in the popup.
|
|
277
|
-
* > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
|
|
278
|
-
*
|
|
279
|
-
* We have built-in `template engine`
|
|
280
|
-
* which provides options to compile template string into a executable function.
|
|
281
|
-
* For EX: We have expression evolution as like ES6 expression string literals.
|
|
282
|
-
*
|
|
283
|
-
* @default null
|
|
284
|
-
* @aspType string
|
|
285
|
-
*/
|
|
286
|
-
itemTemplate?: string | Function;
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* To enable the filtering option in this component.
|
|
290
|
-
* Filter action performs when type in search box and collect the matched item through `filtering` event.
|
|
291
|
-
* If searching character does not match, `noRecordsTemplate` property value will be shown.
|
|
292
|
-
*
|
|
293
|
-
* {% codeBlock src="multiselect/allow-filtering-api/index.ts" %}{% endcodeBlock %}
|
|
294
|
-
*
|
|
295
|
-
* {% codeBlock src="multiselect/allow-filtering-api/index.html" %}{% endcodeBlock %}
|
|
296
|
-
*
|
|
297
|
-
* @default null
|
|
298
|
-
*/
|
|
299
|
-
allowFiltering?: boolean;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* Specifies the delay time in milliseconds for filtering operations.
|
|
303
|
-
*
|
|
304
|
-
* @default 300
|
|
305
|
-
*/
|
|
306
|
-
debounceDelay?: number;
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* Defines whether the popup opens in fullscreen mode on mobile devices when filtering is enabled. When set to false, the popup will display similarly on both mobile and desktop devices.
|
|
310
|
-
*
|
|
311
|
-
* @default true
|
|
312
|
-
*/
|
|
313
|
-
isDeviceFullScreen?: boolean;
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* By default, the multiselect component fires the change event while focus out the component.
|
|
317
|
-
* If you want to fires the change event on every value selection and remove, then disable the changeOnBlur property.
|
|
318
|
-
*
|
|
319
|
-
* @default true
|
|
320
|
-
*/
|
|
321
|
-
changeOnBlur?: boolean;
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Allows user to add a
|
|
325
|
-
* [`custom value`](../../multi-select/custom-value), the value which is not present in the suggestion list.
|
|
326
|
-
*
|
|
327
|
-
* @default false
|
|
328
|
-
*/
|
|
329
|
-
allowCustomValue?: boolean;
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* Enables close icon with the each selected item.
|
|
333
|
-
*
|
|
334
|
-
* @default true
|
|
335
|
-
*/
|
|
336
|
-
showClearButton?: boolean;
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* Sets limitation to the value selection.
|
|
340
|
-
* based on the limitation, list selection will be prevented.
|
|
341
|
-
*
|
|
342
|
-
* @default 1000
|
|
343
|
-
*/
|
|
344
|
-
maximumSelectionLength?: number;
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Gets or sets the `readonly` to input or not. Once enabled, just you can copy or highlight
|
|
348
|
-
* the text however tab key action will perform.
|
|
349
|
-
*
|
|
350
|
-
* @default false
|
|
351
|
-
*/
|
|
352
|
-
readonly?: boolean;
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Gets or sets a value that indicates whether the Multiselect popup can be resized.
|
|
356
|
-
* When set to `true`, a resize handle appears in the bottom-right corner of the popup,
|
|
357
|
-
* allowing the user to resize the width and height of the popup.
|
|
358
|
-
*
|
|
359
|
-
* @default false
|
|
360
|
-
*/
|
|
361
|
-
allowResize?: boolean;
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* Selects the list item which maps the data `text` field in the component.
|
|
365
|
-
*
|
|
366
|
-
* @default null
|
|
367
|
-
* @aspType string
|
|
368
|
-
*/
|
|
369
|
-
text?: string | null;
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Selects the list item which maps the data `value` field in the component.
|
|
373
|
-
* {% codeBlock src='multiselect/value/index.md' %}{% endcodeBlock %}
|
|
374
|
-
*
|
|
375
|
-
* @default null
|
|
376
|
-
* @isGenericType true
|
|
377
|
-
*/
|
|
378
|
-
value?: number[] | string[] | boolean[] | object[] | null ;
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* Defines whether the object binding is allowed or not in the component.
|
|
382
|
-
*
|
|
383
|
-
* @default false
|
|
384
|
-
*/
|
|
385
|
-
allowObjectBinding?: boolean;
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* Hides the selected item from the list item.
|
|
389
|
-
*
|
|
390
|
-
* @default true
|
|
391
|
-
*/
|
|
392
|
-
hideSelectedItem?: boolean;
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* Based on the property, when item get select popup visibility state will changed.
|
|
396
|
-
*
|
|
397
|
-
* @default true
|
|
398
|
-
*/
|
|
399
|
-
closePopupOnSelect?: boolean;
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* configures visibility mode for component interaction.
|
|
403
|
-
*
|
|
404
|
-
* - `Box` - selected items will be visualized in chip.
|
|
405
|
-
*
|
|
406
|
-
* - `Delimiter` - selected items will be visualized in text content.
|
|
407
|
-
*
|
|
408
|
-
* - `Default` - on `focus in` component will act in `box` mode.
|
|
409
|
-
* on `blur` component will act in `delimiter` mode.
|
|
410
|
-
*
|
|
411
|
-
* - `CheckBox` - The 'checkbox' will be visualized in list item.
|
|
412
|
-
*
|
|
413
|
-
* {% codeBlock src="multiselect/visual-mode-api/index.ts" %}{% endcodeBlock %}
|
|
414
|
-
*
|
|
415
|
-
* {% codeBlock src="multiselect/visual-mode-api/index.html" %}{% endcodeBlock %}
|
|
416
|
-
*
|
|
417
|
-
* @default Default
|
|
418
|
-
*/
|
|
419
|
-
mode?: visualMode;
|
|
11
|
+
* The `fields` property maps the columns of the data table and binds the data to the component.
|
|
12
|
+
* * text - Maps the text column from data table for each list item.
|
|
13
|
+
* * value - Maps the value column from data table for each list item.
|
|
14
|
+
* * iconCss - Maps the icon class column from data table for each list item.
|
|
15
|
+
* * groupBy - Group the list items with it's related items by mapping groupBy field.
|
|
16
|
+
* ```html
|
|
17
|
+
* <input type="text" tabindex="1" id="list"> </input>
|
|
18
|
+
* ```
|
|
19
|
+
* ```typescript
|
|
20
|
+
* let customers: MultiSelect = new MultiSelect({
|
|
21
|
+
* dataSource:new DataManager({ url:'http://js.syncfusion.com/demos/ejServices/Wcf/Northwind.svc/' }),
|
|
22
|
+
* query: new Query().from('Customers').select(['ContactName', 'CustomerID']).take(5),
|
|
23
|
+
* fields: { text: 'ContactName', value: 'CustomerID' },
|
|
24
|
+
* placeholder: 'Select a customer'
|
|
25
|
+
* });
|
|
26
|
+
* customers.appendTo("#list");
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @default {text: null, value: null, iconCss: null, groupBy: null}
|
|
30
|
+
*/
|
|
31
|
+
fields?: FieldSettingsModel;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Enable or disable persisting MultiSelect component's state between page reloads.
|
|
35
|
+
* If enabled, following list of states will be persisted.
|
|
36
|
+
* 1. value
|
|
37
|
+
*
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
enablePersistence?: boolean;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Accepts the template design and assigns it to the group headers present in the MultiSelect popup list.
|
|
44
|
+
*
|
|
45
|
+
* @default null
|
|
46
|
+
* @aspType string
|
|
47
|
+
*/
|
|
48
|
+
groupTemplate?: string | Function;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Accepts the template design and assigns it to popup list of MultiSelect component
|
|
52
|
+
* when no data is available on the component.
|
|
53
|
+
*
|
|
54
|
+
* @default 'No records found'
|
|
55
|
+
* @aspType string
|
|
56
|
+
*/
|
|
57
|
+
noRecordsTemplate?: string | Function;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Accepts the template and assigns it to the popup list content of the MultiSelect component
|
|
61
|
+
* when the data fetch request from the remote server fails.
|
|
62
|
+
*
|
|
63
|
+
* @default 'Request failed'
|
|
64
|
+
* @aspType string
|
|
65
|
+
*/
|
|
66
|
+
actionFailureTemplate?: string | Function;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Specifies the `sortOrder` to sort the data source. The available type of sort orders are
|
|
70
|
+
* * `None` - The data source is not sorting.
|
|
71
|
+
* * `Ascending` - The data source is sorting with ascending order.
|
|
72
|
+
* * `Descending` - The data source is sorting with descending order.
|
|
73
|
+
*
|
|
74
|
+
* @default null
|
|
75
|
+
* @asptype object
|
|
76
|
+
* @aspjsonconverterignore
|
|
77
|
+
*/
|
|
78
|
+
sortOrder?: SortOrder;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Specifies a value that indicates whether the MultiSelect component is enabled or not.
|
|
82
|
+
*
|
|
83
|
+
* @default true
|
|
84
|
+
*/
|
|
85
|
+
enabled?: boolean;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Defines whether to allow the cross-scripting site or not.
|
|
89
|
+
*
|
|
90
|
+
* @default true
|
|
91
|
+
*/
|
|
92
|
+
enableHtmlSanitizer?: boolean;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Defines whether to enable virtual scrolling in the component.
|
|
96
|
+
*
|
|
97
|
+
* @default false
|
|
98
|
+
*/
|
|
99
|
+
enableVirtualization?: boolean;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Accepts the list items either through local or remote service and binds it to the MultiSelect component.
|
|
103
|
+
* It can be an array of JSON Objects or an instance of
|
|
104
|
+
* `DataManager`.
|
|
105
|
+
*
|
|
106
|
+
* @default []
|
|
107
|
+
*/
|
|
108
|
+
dataSource?: { [key: string]: Object }[] | DataManager | string[] | number[] | boolean[];
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Accepts the external `Query`
|
|
112
|
+
* which will execute along with the data processing in MultiSelect.
|
|
113
|
+
*
|
|
114
|
+
* @default null
|
|
115
|
+
*/
|
|
116
|
+
query?: Query;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Determines on which filter type, the MultiSelect component needs to be considered on search action.
|
|
120
|
+
* The `FilterType` and its supported data types are
|
|
121
|
+
*
|
|
122
|
+
* <table>
|
|
123
|
+
* <tr>
|
|
124
|
+
* <td colSpan=1 rowSpan=1>
|
|
125
|
+
* FilterType<br/></td><td colSpan=1 rowSpan=1>
|
|
126
|
+
* Description<br/></td><td colSpan=1 rowSpan=1>
|
|
127
|
+
* Supported Types<br/></td></tr>
|
|
128
|
+
* <tr>
|
|
129
|
+
* <td colSpan=1 rowSpan=1>
|
|
130
|
+
* StartsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
131
|
+
* Checks whether a value begins with the specified value.<br/></td><td colSpan=1 rowSpan=1>
|
|
132
|
+
* String<br/></td></tr>
|
|
133
|
+
* <tr>
|
|
134
|
+
* <td colSpan=1 rowSpan=1>
|
|
135
|
+
* EndsWith<br/></td><td colSpan=1 rowSpan=1>
|
|
136
|
+
* Checks whether a value ends with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
137
|
+
* <br/>String<br/></td></tr>
|
|
138
|
+
* <tr>
|
|
139
|
+
* <td colSpan=1 rowSpan=1>
|
|
140
|
+
* Contains<br/></td><td colSpan=1 rowSpan=1>
|
|
141
|
+
* Checks whether a value contains with specified value.<br/><br/></td><td colSpan=1 rowSpan=1>
|
|
142
|
+
* <br/>String<br/></td></tr>
|
|
143
|
+
* </table>
|
|
144
|
+
*
|
|
145
|
+
* The default value set to `StartsWith`, all the suggestion items which contain typed characters to listed in the suggestion popup.
|
|
146
|
+
*
|
|
147
|
+
* @default 'StartsWith'
|
|
148
|
+
*/
|
|
149
|
+
filterType?: FilterType;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* specifies the z-index value of the component popup element.
|
|
153
|
+
*
|
|
154
|
+
* @default 1000
|
|
155
|
+
*/
|
|
156
|
+
zIndex?: number;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* ignoreAccent set to true, then ignores the diacritic characters or accents when filtering.
|
|
160
|
+
*/
|
|
161
|
+
ignoreAccent?: boolean;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
165
|
+
*
|
|
166
|
+
* @default 'en-US'
|
|
167
|
+
*/
|
|
168
|
+
locale?: string;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Specifies a Boolean value that indicates the whether the grouped list items are
|
|
172
|
+
* allowed to check by checking the group header in checkbox mode.
|
|
173
|
+
* By default, there is no checkbox provided for group headers.
|
|
174
|
+
* This property allows you to render checkbox for group headers and to select
|
|
175
|
+
* all the grouped items at once
|
|
176
|
+
*
|
|
177
|
+
* @default false
|
|
178
|
+
*/
|
|
179
|
+
enableGroupCheckBox?: boolean;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Sets the CSS classes to root element of this component which helps to customize the
|
|
183
|
+
* complete styles.
|
|
184
|
+
*
|
|
185
|
+
* @default null
|
|
186
|
+
*/
|
|
187
|
+
cssClass?: string;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Gets or sets the width of the component. By default, it sizes based on its parent.
|
|
191
|
+
* container dimension.
|
|
192
|
+
*
|
|
193
|
+
* @default '100%'
|
|
194
|
+
* @aspType string
|
|
195
|
+
*/
|
|
196
|
+
width?: string | number;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Gets or sets the height of the popup list. By default it renders based on its list item.
|
|
200
|
+
* > For more details about the popup configuration refer to
|
|
201
|
+
* [`Popup Configuration`](../../multi-select/getting-started/#configure-the-popup-list) documentation.
|
|
202
|
+
*
|
|
203
|
+
* @default '300px'
|
|
204
|
+
* @aspType string
|
|
205
|
+
*/
|
|
206
|
+
popupHeight?: string | number;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Gets or sets the width of the popup list and percentage values has calculated based on input width.
|
|
210
|
+
* > For more details about the popup configuration refer to
|
|
211
|
+
* [`Popup Configuration`](../../multi-select/getting-started/#configure-the-popup-list) documentation.
|
|
212
|
+
*
|
|
213
|
+
* @default '100%'
|
|
214
|
+
* @aspType string
|
|
215
|
+
*/
|
|
216
|
+
popupWidth?: string | number;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Gets or sets the placeholder in the component to display the given information
|
|
220
|
+
* in input when no item selected.
|
|
221
|
+
*
|
|
222
|
+
* @default null
|
|
223
|
+
*/
|
|
224
|
+
placeholder?: string;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Accepts the value to be displayed as a watermark text on the filter bar.
|
|
228
|
+
*
|
|
229
|
+
* @default null
|
|
230
|
+
*/
|
|
231
|
+
filterBarPlaceholder?: string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Gets or sets the additional attribute to `HtmlAttributes` property in MultiSelect,
|
|
235
|
+
* which helps to add attribute like title, name etc, input should be key value pair.
|
|
236
|
+
*
|
|
237
|
+
* {% codeBlock src='multiselect/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
238
|
+
*
|
|
239
|
+
* @default {}
|
|
240
|
+
*/
|
|
241
|
+
htmlAttributes?: { [key: string]: string };
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Accepts the template design and assigns it to the selected list item in the input element of the component.
|
|
245
|
+
* For more details about the available template options refer to
|
|
246
|
+
* [`Template`](../../multi-select/templates) documentation.
|
|
247
|
+
*
|
|
248
|
+
* We have built-in `template engine`
|
|
249
|
+
* which provides options to compile template string into a executable function.
|
|
250
|
+
* For EX: We have expression evolution as like ES6 expression string literals.
|
|
251
|
+
*
|
|
252
|
+
* @default null
|
|
253
|
+
* @aspType string
|
|
254
|
+
*/
|
|
255
|
+
valueTemplate?: string | Function;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Accepts the template design and assigns it to the header container of the popup list.
|
|
259
|
+
* > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
|
|
260
|
+
*
|
|
261
|
+
* @default null
|
|
262
|
+
* @aspType string
|
|
263
|
+
*/
|
|
264
|
+
headerTemplate?: string | Function;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Accepts the template design and assigns it to the footer container of the popup list.
|
|
268
|
+
* > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
|
|
269
|
+
*
|
|
270
|
+
* @default null
|
|
271
|
+
* @aspType string
|
|
272
|
+
*/
|
|
273
|
+
footerTemplate?: string | Function;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Accepts the template design and assigns it to each list item present in the popup.
|
|
277
|
+
* > For more details about the available template options refer to [`Template`](../../multi-select/templates) documentation.
|
|
278
|
+
*
|
|
279
|
+
* We have built-in `template engine`
|
|
280
|
+
* which provides options to compile template string into a executable function.
|
|
281
|
+
* For EX: We have expression evolution as like ES6 expression string literals.
|
|
282
|
+
*
|
|
283
|
+
* @default null
|
|
284
|
+
* @aspType string
|
|
285
|
+
*/
|
|
286
|
+
itemTemplate?: string | Function;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* To enable the filtering option in this component.
|
|
290
|
+
* Filter action performs when type in search box and collect the matched item through `filtering` event.
|
|
291
|
+
* If searching character does not match, `noRecordsTemplate` property value will be shown.
|
|
292
|
+
*
|
|
293
|
+
* {% codeBlock src="multiselect/allow-filtering-api/index.ts" %}{% endcodeBlock %}
|
|
294
|
+
*
|
|
295
|
+
* {% codeBlock src="multiselect/allow-filtering-api/index.html" %}{% endcodeBlock %}
|
|
296
|
+
*
|
|
297
|
+
* @default null
|
|
298
|
+
*/
|
|
299
|
+
allowFiltering?: boolean;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Specifies the delay time in milliseconds for filtering operations.
|
|
303
|
+
*
|
|
304
|
+
* @default 300
|
|
305
|
+
*/
|
|
306
|
+
debounceDelay?: number;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Defines whether the popup opens in fullscreen mode on mobile devices when filtering is enabled. When set to false, the popup will display similarly on both mobile and desktop devices.
|
|
310
|
+
*
|
|
311
|
+
* @default true
|
|
312
|
+
*/
|
|
313
|
+
isDeviceFullScreen?: boolean;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* By default, the multiselect component fires the change event while focus out the component.
|
|
317
|
+
* If you want to fires the change event on every value selection and remove, then disable the changeOnBlur property.
|
|
318
|
+
*
|
|
319
|
+
* @default true
|
|
320
|
+
*/
|
|
321
|
+
changeOnBlur?: boolean;
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Allows user to add a
|
|
325
|
+
* [`custom value`](../../multi-select/custom-value), the value which is not present in the suggestion list.
|
|
326
|
+
*
|
|
327
|
+
* @default false
|
|
328
|
+
*/
|
|
329
|
+
allowCustomValue?: boolean;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Enables close icon with the each selected item.
|
|
333
|
+
*
|
|
334
|
+
* @default true
|
|
335
|
+
*/
|
|
336
|
+
showClearButton?: boolean;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Sets limitation to the value selection.
|
|
340
|
+
* based on the limitation, list selection will be prevented.
|
|
341
|
+
*
|
|
342
|
+
* @default 1000
|
|
343
|
+
*/
|
|
344
|
+
maximumSelectionLength?: number;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Gets or sets the `readonly` to input or not. Once enabled, just you can copy or highlight
|
|
348
|
+
* the text however tab key action will perform.
|
|
349
|
+
*
|
|
350
|
+
* @default false
|
|
351
|
+
*/
|
|
352
|
+
readonly?: boolean;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Gets or sets a value that indicates whether the Multiselect popup can be resized.
|
|
356
|
+
* When set to `true`, a resize handle appears in the bottom-right corner of the popup,
|
|
357
|
+
* allowing the user to resize the width and height of the popup.
|
|
358
|
+
*
|
|
359
|
+
* @default false
|
|
360
|
+
*/
|
|
361
|
+
allowResize?: boolean;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Selects the list item which maps the data `text` field in the component.
|
|
365
|
+
*
|
|
366
|
+
* @default null
|
|
367
|
+
* @aspType string
|
|
368
|
+
*/
|
|
369
|
+
text?: string | null;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Selects the list item which maps the data `value` field in the component.
|
|
373
|
+
* {% codeBlock src='multiselect/value/index.md' %}{% endcodeBlock %}
|
|
374
|
+
*
|
|
375
|
+
* @default null
|
|
376
|
+
* @isGenericType true
|
|
377
|
+
*/
|
|
378
|
+
value?: number[] | string[] | boolean[] | object[] | null ;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Defines whether the object binding is allowed or not in the component.
|
|
382
|
+
*
|
|
383
|
+
* @default false
|
|
384
|
+
*/
|
|
385
|
+
allowObjectBinding?: boolean;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Hides the selected item from the list item.
|
|
389
|
+
*
|
|
390
|
+
* @default true
|
|
391
|
+
*/
|
|
392
|
+
hideSelectedItem?: boolean;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Based on the property, when item get select popup visibility state will changed.
|
|
396
|
+
*
|
|
397
|
+
* @default true
|
|
398
|
+
*/
|
|
399
|
+
closePopupOnSelect?: boolean;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* configures visibility mode for component interaction.
|
|
403
|
+
*
|
|
404
|
+
* - `Box` - selected items will be visualized in chip.
|
|
405
|
+
*
|
|
406
|
+
* - `Delimiter` - selected items will be visualized in text content.
|
|
407
|
+
*
|
|
408
|
+
* - `Default` - on `focus in` component will act in `box` mode.
|
|
409
|
+
* on `blur` component will act in `delimiter` mode.
|
|
410
|
+
*
|
|
411
|
+
* - `CheckBox` - The 'checkbox' will be visualized in list item.
|
|
412
|
+
*
|
|
413
|
+
* {% codeBlock src="multiselect/visual-mode-api/index.ts" %}{% endcodeBlock %}
|
|
414
|
+
*
|
|
415
|
+
* {% codeBlock src="multiselect/visual-mode-api/index.html" %}{% endcodeBlock %}
|
|
416
|
+
*
|
|
417
|
+
* @default Default
|
|
418
|
+
*/
|
|
419
|
+
mode?: visualMode;
|
|
420
420
|
|
|
421
421
|
/**
|
|
422
|
-
* Sets the delimiter character for 'default' and 'delimiter' visibility modes.
|
|
423
|
-
*
|
|
424
|
-
* @default ','
|
|
425
|
-
*/
|
|
426
|
-
delimiterChar?: string;
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* Sets [`case sensitive`](../../multi-select/filtering/#case-sensitive-filtering)
|
|
430
|
-
* option for filter operation.
|
|
431
|
-
*
|
|
432
|
-
* @default true
|
|
433
|
-
*/
|
|
434
|
-
ignoreCase?: boolean;
|
|
435
|
-
|
|
422
|
+
* Sets the delimiter character for 'default' and 'delimiter' visibility modes.
|
|
423
|
+
*
|
|
424
|
+
* @default ','
|
|
425
|
+
*/
|
|
426
|
+
delimiterChar?: string;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Sets [`case sensitive`](../../multi-select/filtering/#case-sensitive-filtering)
|
|
430
|
+
* option for filter operation.
|
|
431
|
+
*
|
|
432
|
+
* @default true
|
|
433
|
+
*/
|
|
434
|
+
ignoreCase?: boolean;
|
|
435
|
+
|
|
436
436
|
/**
|
|
437
|
-
* Allows you to either show or hide the DropDown button on the component
|
|
438
|
-
*
|
|
439
|
-
* @default false
|
|
440
|
-
*/
|
|
441
|
-
showDropDownIcon?: boolean;
|
|
442
|
-
|
|
437
|
+
* Allows you to either show or hide the DropDown button on the component
|
|
438
|
+
*
|
|
439
|
+
* @default false
|
|
440
|
+
*/
|
|
441
|
+
showDropDownIcon?: boolean;
|
|
442
|
+
|
|
443
443
|
/**
|
|
444
|
-
* Specifies whether to display the floating label above the input element.
|
|
445
|
-
* Possible values are:
|
|
446
|
-
* * Never: The label will never float in the input when the placeholder is available.
|
|
447
|
-
* * Always: The floating label will always float above the input.
|
|
448
|
-
* * Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
449
|
-
*
|
|
450
|
-
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
451
|
-
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
452
|
-
* @isEnumeration true
|
|
453
|
-
*/
|
|
454
|
-
floatLabelType?: FloatLabelType;
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* Allows you to either show or hide the selectAll option on the component.
|
|
458
|
-
*
|
|
459
|
-
* @default false
|
|
460
|
-
*/
|
|
461
|
-
showSelectAll?: boolean;
|
|
444
|
+
* Specifies whether to display the floating label above the input element.
|
|
445
|
+
* Possible values are:
|
|
446
|
+
* * Never: The label will never float in the input when the placeholder is available.
|
|
447
|
+
* * Always: The floating label will always float above the input.
|
|
448
|
+
* * Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
449
|
+
*
|
|
450
|
+
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
451
|
+
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
452
|
+
* @isEnumeration true
|
|
453
|
+
*/
|
|
454
|
+
floatLabelType?: FloatLabelType;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Allows you to either show or hide the selectAll option on the component.
|
|
458
|
+
*
|
|
459
|
+
* @default false
|
|
460
|
+
*/
|
|
461
|
+
showSelectAll?: boolean;
|
|
462
462
|
|
|
463
463
|
/**
|
|
464
|
-
* Specifies the selectAllText to be displayed on the component.
|
|
465
|
-
*
|
|
466
|
-
* @default 'select All'
|
|
467
|
-
*/
|
|
468
|
-
selectAllText?: string;
|
|
464
|
+
* Specifies the selectAllText to be displayed on the component.
|
|
465
|
+
*
|
|
466
|
+
* @default 'select All'
|
|
467
|
+
*/
|
|
468
|
+
selectAllText?: string;
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
|
-
* Specifies the UnSelectAllText to be displayed on the component.
|
|
472
|
-
*
|
|
473
|
-
* @default 'select All'
|
|
474
|
-
*/
|
|
475
|
-
unSelectAllText?: string;
|
|
471
|
+
* Specifies the UnSelectAllText to be displayed on the component.
|
|
472
|
+
*
|
|
473
|
+
* @default 'select All'
|
|
474
|
+
*/
|
|
475
|
+
unSelectAllText?: string;
|
|
476
476
|
|
|
477
477
|
/**
|
|
478
|
-
* Reorder the selected items in popup visibility state.
|
|
479
|
-
*
|
|
480
|
-
* @default true
|
|
481
|
-
*/
|
|
482
|
-
enableSelectionOrder?: boolean;
|
|
478
|
+
* Reorder the selected items in popup visibility state.
|
|
479
|
+
*
|
|
480
|
+
* @default true
|
|
481
|
+
*/
|
|
482
|
+
enableSelectionOrder?: boolean;
|
|
483
483
|
|
|
484
484
|
/**
|
|
485
|
-
* Whether to automatically open the popup when the control is clicked.
|
|
486
|
-
*
|
|
487
|
-
* @default true
|
|
488
|
-
*/
|
|
489
|
-
openOnClick?: boolean;
|
|
485
|
+
* Whether to automatically open the popup when the control is clicked.
|
|
486
|
+
*
|
|
487
|
+
* @default true
|
|
488
|
+
*/
|
|
489
|
+
openOnClick?: boolean;
|
|
490
490
|
|
|
491
491
|
/**
|
|
492
|
-
* By default, the typed value is converting into chip or update as value of the component when you press the enter key or select from the popup.
|
|
493
|
-
* If you want to convert the typed value into chip or update as value of the component while focusing out the component, then enable this property.
|
|
494
|
-
* If custom value is enabled, both custom value and value present in the list are converted into tag while focusing out the component; Otherwise, value present in the list is converted into tag while focusing out the component.
|
|
495
|
-
*
|
|
496
|
-
* @default false
|
|
497
|
-
*/
|
|
498
|
-
addTagOnBlur?: boolean;
|
|
492
|
+
* By default, the typed value is converting into chip or update as value of the component when you press the enter key or select from the popup.
|
|
493
|
+
* If you want to convert the typed value into chip or update as value of the component while focusing out the component, then enable this property.
|
|
494
|
+
* If custom value is enabled, both custom value and value present in the list are converted into tag while focusing out the component; Otherwise, value present in the list is converted into tag while focusing out the component.
|
|
495
|
+
*
|
|
496
|
+
* @default false
|
|
497
|
+
*/
|
|
498
|
+
addTagOnBlur?: boolean;
|
|
499
499
|
|
|
500
500
|
/**
|
|
501
|
-
* Fires each time when selection changes happened in list items after model and input value get affected.
|
|
502
|
-
*
|
|
503
|
-
* @event change
|
|
504
|
-
*/
|
|
505
|
-
change?: EmitType<MultiSelectChangeEventArgs>;
|
|
501
|
+
* Fires each time when selection changes happened in list items after model and input value get affected.
|
|
502
|
+
*
|
|
503
|
+
* @event change
|
|
504
|
+
*/
|
|
505
|
+
change?: EmitType<MultiSelectChangeEventArgs>;
|
|
506
506
|
|
|
507
507
|
/**
|
|
508
|
-
* Fires before the selected item removed from the widget.
|
|
509
|
-
*
|
|
510
|
-
* @event removing
|
|
511
|
-
*/
|
|
512
|
-
removing?: EmitType<RemoveEventArgs>;
|
|
508
|
+
* Fires before the selected item removed from the widget.
|
|
509
|
+
*
|
|
510
|
+
* @event removing
|
|
511
|
+
*/
|
|
512
|
+
removing?: EmitType<RemoveEventArgs>;
|
|
513
513
|
|
|
514
514
|
/**
|
|
515
|
-
* Fires after the selected item removed from the widget.
|
|
516
|
-
*
|
|
517
|
-
* @event removed
|
|
518
|
-
*/
|
|
519
|
-
removed?: EmitType<RemoveEventArgs>;
|
|
515
|
+
* Fires after the selected item removed from the widget.
|
|
516
|
+
*
|
|
517
|
+
* @event removed
|
|
518
|
+
*/
|
|
519
|
+
removed?: EmitType<RemoveEventArgs>;
|
|
520
520
|
|
|
521
521
|
/**
|
|
522
|
-
* Fires before select all process.
|
|
523
|
-
*
|
|
524
|
-
* @event beforeSelectAll
|
|
525
|
-
* @blazorProperty 'beforeSelectAll'
|
|
526
|
-
*/
|
|
527
|
-
beforeSelectAll?: EmitType<ISelectAllEventArgs>;
|
|
522
|
+
* Fires before select all process.
|
|
523
|
+
*
|
|
524
|
+
* @event beforeSelectAll
|
|
525
|
+
* @blazorProperty 'beforeSelectAll'
|
|
526
|
+
*/
|
|
527
|
+
beforeSelectAll?: EmitType<ISelectAllEventArgs>;
|
|
528
528
|
|
|
529
529
|
/**
|
|
530
|
-
* Fires after select all process completion.
|
|
531
|
-
*
|
|
532
|
-
* @event selectedAll
|
|
533
|
-
*/
|
|
534
|
-
selectedAll?: EmitType<ISelectAllEventArgs>;
|
|
530
|
+
* Fires after select all process completion.
|
|
531
|
+
*
|
|
532
|
+
* @event selectedAll
|
|
533
|
+
*/
|
|
534
|
+
selectedAll?: EmitType<ISelectAllEventArgs>;
|
|
535
535
|
|
|
536
536
|
/**
|
|
537
|
-
* Fires when popup opens before animation.
|
|
538
|
-
*
|
|
539
|
-
* @event beforeOpen
|
|
540
|
-
*/
|
|
541
|
-
beforeOpen?: EmitType<Object>;
|
|
537
|
+
* Fires when popup opens before animation.
|
|
538
|
+
*
|
|
539
|
+
* @event beforeOpen
|
|
540
|
+
*/
|
|
541
|
+
beforeOpen?: EmitType<Object>;
|
|
542
542
|
|
|
543
543
|
/**
|
|
544
|
-
* Fires when popup opens after animation completion.
|
|
545
|
-
*
|
|
546
|
-
* @event open
|
|
547
|
-
*/
|
|
548
|
-
open?: EmitType<PopupEventArgs>;
|
|
544
|
+
* Fires when popup opens after animation completion.
|
|
545
|
+
*
|
|
546
|
+
* @event open
|
|
547
|
+
*/
|
|
548
|
+
open?: EmitType<PopupEventArgs>;
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
* Fires when popup close after animation completion.
|
|
552
|
-
*
|
|
553
|
-
* @event close
|
|
554
|
-
*/
|
|
555
|
-
close?: EmitType<PopupEventArgs>;
|
|
551
|
+
* Fires when popup close after animation completion.
|
|
552
|
+
*
|
|
553
|
+
* @event close
|
|
554
|
+
*/
|
|
555
|
+
close?: EmitType<PopupEventArgs>;
|
|
556
556
|
|
|
557
557
|
/**
|
|
558
|
-
* Event triggers when the input get focus-out.
|
|
559
|
-
*
|
|
560
|
-
* @event blur
|
|
561
|
-
*/
|
|
562
|
-
blur?: EmitType<Object>;
|
|
558
|
+
* Event triggers when the input get focus-out.
|
|
559
|
+
*
|
|
560
|
+
* @event blur
|
|
561
|
+
*/
|
|
562
|
+
blur?: EmitType<Object>;
|
|
563
563
|
|
|
564
564
|
/**
|
|
565
|
-
* Event triggers when the input get focused.
|
|
566
|
-
*
|
|
567
|
-
* @event focus
|
|
568
|
-
*/
|
|
569
|
-
focus?: EmitType<Object>;
|
|
565
|
+
* Event triggers when the input get focused.
|
|
566
|
+
*
|
|
567
|
+
* @event focus
|
|
568
|
+
*/
|
|
569
|
+
focus?: EmitType<Object>;
|
|
570
570
|
|
|
571
571
|
/**
|
|
572
|
-
* Event triggers when the chip selection.
|
|
573
|
-
*
|
|
574
|
-
* @event chipSelection
|
|
575
|
-
*/
|
|
576
|
-
chipSelection?: EmitType<Object>;
|
|
572
|
+
* Event triggers when the chip selection.
|
|
573
|
+
*
|
|
574
|
+
* @event chipSelection
|
|
575
|
+
*/
|
|
576
|
+
chipSelection?: EmitType<Object>;
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
|
-
* Triggers when the user finishes resizing the Multiselect popup.
|
|
580
|
-
*
|
|
581
|
-
* @event resizeStop
|
|
582
|
-
*/
|
|
583
|
-
resizeStop?: EmitType<Object>;
|
|
579
|
+
* Triggers when the user finishes resizing the Multiselect popup.
|
|
580
|
+
*
|
|
581
|
+
* @event resizeStop
|
|
582
|
+
*/
|
|
583
|
+
resizeStop?: EmitType<Object>;
|
|
584
584
|
|
|
585
585
|
/**
|
|
586
|
-
* Triggers continuously while the Multiselect popup is being resized by the user.
|
|
587
|
-
* This event provides live updates on the width and height of the popup.
|
|
588
|
-
*
|
|
589
|
-
* @event resizing
|
|
590
|
-
*/
|
|
591
|
-
resizing?: EmitType<Object>;
|
|
586
|
+
* Triggers continuously while the Multiselect popup is being resized by the user.
|
|
587
|
+
* This event provides live updates on the width and height of the popup.
|
|
588
|
+
*
|
|
589
|
+
* @event resizing
|
|
590
|
+
*/
|
|
591
|
+
resizing?: EmitType<Object>;
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
|
-
* Triggers when the user starts resizing the Multiselect popup.
|
|
595
|
-
*
|
|
596
|
-
* @event resizeStart
|
|
597
|
-
*/
|
|
598
|
-
resizeStart?: EmitType<Object>;
|
|
594
|
+
* Triggers when the user starts resizing the Multiselect popup.
|
|
595
|
+
*
|
|
596
|
+
* @event resizeStart
|
|
597
|
+
*/
|
|
598
|
+
resizeStart?: EmitType<Object>;
|
|
599
599
|
|
|
600
600
|
/**
|
|
601
|
-
* Triggers event,when user types a text in search box.
|
|
602
|
-
* > For more details about filtering, refer to [`Filtering`](../../multi-select/filtering) documentation.
|
|
603
|
-
*
|
|
604
|
-
* @event filtering
|
|
605
|
-
*/
|
|
606
|
-
filtering?: EmitType<FilteringEventArgs>;
|
|
601
|
+
* Triggers event,when user types a text in search box.
|
|
602
|
+
* > For more details about filtering, refer to [`Filtering`](../../multi-select/filtering) documentation.
|
|
603
|
+
*
|
|
604
|
+
* @event filtering
|
|
605
|
+
*/
|
|
606
|
+
filtering?: EmitType<FilteringEventArgs>;
|
|
607
607
|
|
|
608
608
|
/**
|
|
609
|
-
* Fires before set the selected item as chip in the component.
|
|
610
|
-
* > For more details about chip customization refer [`Chip Customization`](../../multi-select/chip-customization)
|
|
611
|
-
*
|
|
612
|
-
* @event tagging
|
|
613
|
-
*/
|
|
614
|
-
tagging?: EmitType<TaggingEventArgs>;
|
|
609
|
+
* Fires before set the selected item as chip in the component.
|
|
610
|
+
* > For more details about chip customization refer [`Chip Customization`](../../multi-select/chip-customization)
|
|
611
|
+
*
|
|
612
|
+
* @event tagging
|
|
613
|
+
*/
|
|
614
|
+
tagging?: EmitType<TaggingEventArgs>;
|
|
615
615
|
|
|
616
616
|
/**
|
|
617
|
-
* Triggers when the [`customValue`](../../multi-select/custom-value) is selected.
|
|
618
|
-
*
|
|
619
|
-
* @event customValueSelection
|
|
620
|
-
*/
|
|
621
|
-
customValueSelection?: EmitType<CustomValueEventArgs>;
|
|
617
|
+
* Triggers when the [`customValue`](../../multi-select/custom-value) is selected.
|
|
618
|
+
*
|
|
619
|
+
* @event customValueSelection
|
|
620
|
+
*/
|
|
621
|
+
customValueSelection?: EmitType<CustomValueEventArgs>;
|
|
622
622
|
|
|
623
623
|
}
|