@syncfusion/ej2-dropdowns 25.2.3 → 25.2.5-30068
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2186 -2140
- package/{README.md → ReadMe.md} +217 -217
- package/dist/ej2-dropdowns.umd.min.js +1 -10
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +293 -197
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +460 -363
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/helpers/e2e/autocomplete.js +13 -13
- package/helpers/e2e/combobox.js +13 -13
- package/helpers/e2e/dropdownlist.js +13 -13
- package/helpers/e2e/index.js +3 -3
- package/helpers/e2e/listboxHelper.js +13 -13
- package/helpers/e2e/multiselect.js +13 -13
- package/license +2 -2
- package/package.json +80 -80
- package/src/auto-complete/auto-complete-model.d.ts +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 +233 -233
- package/src/combo-box/combo-box.d.ts +27 -27
- package/src/combo-box/combo-box.js +29 -29
- package/src/common/virtual-scroll.js +46 -46
- package/src/drop-down-base/drop-down-base-model.d.ts +200 -200
- package/src/drop-down-base/drop-down-base.d.ts +24 -20
- package/src/drop-down-base/drop-down-base.js +60 -39
- package/src/drop-down-list/drop-down-list-model.d.ts +209 -209
- package/src/drop-down-list/drop-down-list.d.ts +5 -5
- package/src/drop-down-list/drop-down-list.js +53 -31
- package/src/drop-down-tree/drop-down-tree-model.d.ts +473 -473
- package/src/drop-down-tree/drop-down-tree.d.ts +1 -1
- package/src/drop-down-tree/drop-down-tree.js +29 -25
- 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 +261 -261
- package/src/mention/mention.js +19 -19
- package/src/multi-select/float-label.js +1 -0
- package/src/multi-select/multi-select-model.d.ts +526 -526
- package/src/multi-select/multi-select.d.ts +2 -0
- package/src/multi-select/multi-select.js +182 -133
- 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 -0
- 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 -0
- 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/fluent2.css +1129 -0
- package/styles/auto-complete/fluent2.scss +4 -0
- package/styles/auto-complete/material3-dark.css +1 -1
- package/styles/auto-complete/material3-dark.scss +1 -1
- package/styles/auto-complete/material3.css +1 -1
- package/styles/auto-complete/material3.scss +1 -1
- package/styles/bootstrap-dark.css +72 -300
- package/styles/bootstrap-dark.scss +28 -8
- package/styles/bootstrap.css +72 -306
- package/styles/bootstrap.scss +28 -8
- package/styles/bootstrap4.css +72 -350
- package/styles/bootstrap4.scss +28 -8
- package/styles/bootstrap5-dark.css +72 -301
- package/styles/bootstrap5-dark.scss +28 -8
- package/styles/bootstrap5.css +72 -301
- package/styles/bootstrap5.scss +28 -8
- 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 -0
- 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 -0
- 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/fluent2.css +1129 -0
- package/styles/combo-box/fluent2.scss +4 -0
- package/styles/combo-box/material3-dark.css +1 -1
- package/styles/combo-box/material3-dark.scss +1 -1
- package/styles/combo-box/material3.css +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 +134 -134
- package/styles/drop-down-base/_bootstrap-dark-definition.scss +83 -83
- package/styles/drop-down-base/_bootstrap-definition.scss +83 -83
- package/styles/drop-down-base/_bootstrap4-definition.scss +90 -90
- package/styles/drop-down-base/_bootstrap5-definition.scss +117 -117
- package/styles/drop-down-base/_bootstrap5.3-definition.scss +117 -0
- package/styles/drop-down-base/_definition.scss +23 -23
- package/styles/drop-down-base/_fabric-dark-definition.scss +86 -86
- package/styles/drop-down-base/_fabric-definition.scss +84 -84
- package/styles/drop-down-base/_fluent-definition.scss +121 -121
- package/styles/drop-down-base/_fluent2-definition.scss +134 -0
- package/styles/drop-down-base/_fusionnew-definition.scss +117 -117
- package/styles/drop-down-base/_highcontrast-definition.scss +105 -105
- package/styles/drop-down-base/_highcontrast-light-definition.scss +105 -105
- package/styles/drop-down-base/_layout.scss +197 -187
- package/styles/drop-down-base/_material-dark-definition.scss +86 -86
- package/styles/drop-down-base/_material-definition.scss +85 -85
- package/styles/drop-down-base/_material3-definition.scss +76 -87
- package/styles/drop-down-base/_tailwind-definition.scss +129 -129
- package/styles/drop-down-base/_theme.scss +382 -391
- package/styles/drop-down-base/fluent2.css +1446 -0
- package/styles/drop-down-base/fluent2.scss +3 -0
- package/styles/drop-down-base/material3-dark.css +1 -1
- package/styles/drop-down-base/material3-dark.scss +1 -1
- package/styles/drop-down-base/material3.css +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 +134 -134
- package/styles/drop-down-list/_bootstrap-dark-definition.scss +157 -157
- package/styles/drop-down-list/_bootstrap-definition.scss +156 -156
- package/styles/drop-down-list/_bootstrap4-definition.scss +202 -202
- package/styles/drop-down-list/_bootstrap5-definition.scss +201 -201
- package/styles/drop-down-list/_bootstrap5.3-definition.scss +201 -0
- package/styles/drop-down-list/_fabric-dark-definition.scss +128 -128
- package/styles/drop-down-list/_fabric-definition.scss +124 -124
- package/styles/drop-down-list/_fluent-definition.scss +185 -185
- package/styles/drop-down-list/_fluent2-definition.scss +134 -0
- package/styles/drop-down-list/_fusionnew-definition.scss +201 -201
- package/styles/drop-down-list/_highcontrast-definition.scss +142 -142
- package/styles/drop-down-list/_highcontrast-light-definition.scss +144 -144
- package/styles/drop-down-list/_layout.scss +317 -315
- package/styles/drop-down-list/_material-dark-definition.scss +143 -143
- package/styles/drop-down-list/_material-definition.scss +167 -167
- package/styles/drop-down-list/_material3-definition.scss +172 -180
- package/styles/drop-down-list/_tailwind-definition.scss +134 -134
- package/styles/drop-down-list/_theme.scss +10 -10
- package/styles/drop-down-list/bootstrap-dark.css +5 -0
- package/styles/drop-down-list/bootstrap.css +5 -0
- package/styles/drop-down-list/bootstrap4.css +5 -0
- package/styles/drop-down-list/bootstrap5-dark.css +5 -0
- package/styles/drop-down-list/bootstrap5.css +5 -0
- package/styles/drop-down-list/fabric-dark.css +5 -0
- package/styles/drop-down-list/fabric.css +5 -0
- package/styles/drop-down-list/fluent-dark.css +5 -0
- package/styles/drop-down-list/fluent.css +5 -0
- package/styles/drop-down-list/fluent2.css +1617 -0
- package/styles/drop-down-list/fluent2.scss +9 -0
- package/styles/drop-down-list/highcontrast-light.css +5 -0
- package/styles/drop-down-list/highcontrast.css +5 -0
- package/styles/drop-down-list/icons/_bds.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap-dark.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap4.scss +14 -14
- package/styles/drop-down-list/icons/_bootstrap5.3.scss +14 -0
- package/styles/drop-down-list/icons/_bootstrap5.scss +14 -14
- package/styles/drop-down-list/icons/_fabric-dark.scss +14 -14
- package/styles/drop-down-list/icons/_fabric.scss +14 -14
- package/styles/drop-down-list/icons/_fluent.scss +14 -14
- package/styles/drop-down-list/icons/_fluent2.scss +14 -0
- package/styles/drop-down-list/icons/_fusionnew.scss +14 -14
- package/styles/drop-down-list/icons/_highcontrast-light.scss +14 -14
- package/styles/drop-down-list/icons/_highcontrast.scss +14 -14
- package/styles/drop-down-list/icons/_material-dark.scss +14 -14
- package/styles/drop-down-list/icons/_material.scss +14 -14
- package/styles/drop-down-list/icons/_material3.scss +14 -14
- package/styles/drop-down-list/icons/_tailwind.scss +14 -14
- package/styles/drop-down-list/material-dark.css +5 -0
- package/styles/drop-down-list/material.css +5 -0
- package/styles/drop-down-list/material3-dark.css +6 -1
- package/styles/drop-down-list/material3-dark.scss +1 -1
- package/styles/drop-down-list/material3.css +6 -1
- package/styles/drop-down-list/material3.scss +1 -1
- package/styles/drop-down-list/tailwind-dark.css +5 -0
- package/styles/drop-down-list/tailwind.css +5 -0
- package/styles/drop-down-tree/_all.scss +2 -2
- package/styles/drop-down-tree/_bds-definition.scss +67 -61
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +73 -72
- package/styles/drop-down-tree/_bootstrap-definition.scss +72 -71
- package/styles/drop-down-tree/_bootstrap4-definition.scss +74 -72
- package/styles/drop-down-tree/_bootstrap5-definition.scss +66 -60
- package/styles/drop-down-tree/_bootstrap5.3-definition.scss +66 -0
- package/styles/drop-down-tree/_fabric-dark-definition.scss +73 -72
- package/styles/drop-down-tree/_fabric-definition.scss +73 -72
- package/styles/drop-down-tree/_fluent-definition.scss +71 -66
- package/styles/drop-down-tree/_fluent2-definition.scss +76 -0
- package/styles/drop-down-tree/_fusionnew-definition.scss +61 -60
- package/styles/drop-down-tree/_highcontrast-definition.scss +73 -72
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +73 -72
- package/styles/drop-down-tree/_layout.scss +1389 -1423
- package/styles/drop-down-tree/_material-dark-definition.scss +74 -73
- package/styles/drop-down-tree/_material-definition.scss +74 -73
- package/styles/drop-down-tree/_material3-definition.scss +75 -76
- package/styles/drop-down-tree/_tailwind-definition.scss +67 -61
- package/styles/drop-down-tree/_theme.scss +130 -132
- package/styles/drop-down-tree/bootstrap-dark.css +20 -21
- package/styles/drop-down-tree/bootstrap.css +20 -21
- package/styles/drop-down-tree/bootstrap4.css +21 -22
- package/styles/drop-down-tree/bootstrap5-dark.css +20 -19
- package/styles/drop-down-tree/bootstrap5.css +20 -19
- package/styles/drop-down-tree/fabric-dark.css +20 -21
- package/styles/drop-down-tree/fabric.css +20 -21
- package/styles/drop-down-tree/fluent-dark.css +28 -27
- package/styles/drop-down-tree/fluent.css +28 -27
- package/styles/drop-down-tree/fluent2.css +1671 -0
- package/styles/drop-down-tree/fluent2.scss +9 -0
- package/styles/drop-down-tree/highcontrast-light.css +20 -21
- package/styles/drop-down-tree/highcontrast.css +20 -15
- 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 -0
- 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 -0
- 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/material-dark.css +28 -34
- package/styles/drop-down-tree/material.css +31 -40
- package/styles/drop-down-tree/material3-dark.css +17 -21
- package/styles/drop-down-tree/material3-dark.scss +1 -1
- package/styles/drop-down-tree/material3.css +17 -21
- package/styles/drop-down-tree/material3.scss +1 -1
- package/styles/drop-down-tree/tailwind-dark.css +29 -20
- package/styles/drop-down-tree/tailwind.css +29 -20
- package/styles/fabric-dark.css +72 -300
- package/styles/fabric-dark.scss +28 -8
- package/styles/fabric.css +72 -306
- package/styles/fabric.scss +28 -8
- package/styles/fluent-dark.css +80 -315
- package/styles/fluent-dark.scss +28 -8
- package/styles/fluent.css +80 -315
- package/styles/fluent.scss +28 -8
- package/styles/fluent2.css +4541 -0
- package/styles/fluent2.scss +28 -0
- package/styles/highcontrast-light.css +72 -300
- package/styles/highcontrast-light.scss +28 -8
- package/styles/highcontrast.css +72 -300
- package/styles/highcontrast.scss +28 -8
- package/styles/list-box/_all.scss +2 -2
- package/styles/list-box/_bds-definition.scss +136 -136
- package/styles/list-box/_bigger.scss +164 -0
- package/styles/list-box/_bootstrap-dark-definition.scss +124 -126
- package/styles/list-box/_bootstrap-definition.scss +119 -119
- package/styles/list-box/_bootstrap4-definition.scss +124 -124
- package/styles/list-box/_bootstrap5-definition.scss +121 -120
- package/styles/list-box/_bootstrap5.3-definition.scss +121 -0
- package/styles/list-box/_fabric-dark-definition.scss +124 -126
- 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 +119 -0
- 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 -126
- package/styles/list-box/_layout.scss +455 -546
- package/styles/list-box/_material-dark-definition.scss +124 -126
- package/styles/list-box/_material-definition.scss +119 -119
- package/styles/list-box/_material3-definition.scss +119 -119
- package/styles/list-box/_tailwind-definition.scss +119 -119
- package/styles/list-box/_theme.scss +314 -382
- package/styles/list-box/bootstrap-dark.css +43 -215
- package/styles/list-box/bootstrap.css +43 -221
- package/styles/list-box/bootstrap4.css +42 -264
- package/styles/list-box/bootstrap5-dark.css +43 -215
- package/styles/list-box/bootstrap5.css +43 -215
- package/styles/list-box/fabric-dark.css +43 -215
- package/styles/list-box/fabric.css +43 -221
- package/styles/list-box/fluent-dark.css +43 -221
- package/styles/list-box/fluent.css +43 -221
- package/styles/list-box/fluent2.css +1896 -0
- package/styles/list-box/fluent2.scss +5 -0
- package/styles/list-box/highcontrast-light.css +43 -215
- package/styles/list-box/highcontrast.css +43 -221
- 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 -0
- 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 -0
- 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/material-dark.css +43 -215
- package/styles/list-box/material.css +43 -221
- package/styles/list-box/material3-dark.css +44 -216
- package/styles/list-box/material3-dark.scss +1 -1
- package/styles/list-box/material3.css +44 -216
- package/styles/list-box/material3.scss +1 -1
- package/styles/list-box/tailwind-dark.css +45 -233
- package/styles/list-box/tailwind.css +45 -233
- package/styles/material-dark.css +80 -325
- package/styles/material-dark.scss +28 -8
- package/styles/material.css +84 -354
- package/styles/material.scss +28 -8
- package/styles/material3-dark.css +79 -337
- package/styles/material3-dark.scss +28 -8
- package/styles/material3.css +79 -337
- package/styles/material3.scss +28 -8
- 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 -0
- 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 -0
- 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/fluent2.css +1106 -0
- package/styles/mention/fluent2.scss +6 -0
- package/styles/mention/material3-dark.css +1 -1
- package/styles/mention/material3-dark.scss +1 -1
- package/styles/mention/material3.css +1 -1
- package/styles/mention/material3.scss +1 -1
- package/styles/multi-select/_all.scss +2 -2
- package/styles/multi-select/_bds-definition.scss +235 -235
- package/styles/multi-select/_bootstrap-dark-definition.scss +207 -207
- package/styles/multi-select/_bootstrap-definition.scss +196 -196
- package/styles/multi-select/_bootstrap4-definition.scss +278 -278
- package/styles/multi-select/_bootstrap5-definition.scss +230 -230
- package/styles/multi-select/_bootstrap5.3-definition.scss +230 -0
- package/styles/multi-select/_fabric-dark-definition.scss +192 -192
- package/styles/multi-select/_fabric-definition.scss +183 -183
- package/styles/multi-select/_fluent-definition.scss +246 -246
- package/styles/multi-select/_fluent2-definition.scss +237 -0
- package/styles/multi-select/_fusionnew-definition.scss +227 -227
- package/styles/multi-select/_highcontrast-definition.scss +303 -303
- package/styles/multi-select/_highcontrast-light-definition.scss +297 -297
- package/styles/multi-select/_layout.scss +2200 -2206
- package/styles/multi-select/_material-dark-definition.scss +241 -241
- package/styles/multi-select/_material-definition.scss +234 -234
- package/styles/multi-select/_material3-definition.scss +231 -246
- package/styles/multi-select/_tailwind-definition.scss +235 -235
- package/styles/multi-select/_theme.scss +585 -586
- package/styles/multi-select/bootstrap-dark.css +4 -10
- package/styles/multi-select/bootstrap.css +4 -10
- package/styles/multi-select/bootstrap4.css +4 -10
- package/styles/multi-select/bootstrap5-dark.css +4 -11
- package/styles/multi-select/bootstrap5.css +4 -11
- package/styles/multi-select/fabric-dark.css +4 -10
- package/styles/multi-select/fabric.css +4 -10
- package/styles/multi-select/fluent-dark.css +4 -11
- package/styles/multi-select/fluent.css +4 -11
- package/styles/multi-select/fluent2.css +2590 -0
- package/styles/multi-select/fluent2.scss +9 -0
- package/styles/multi-select/highcontrast-light.css +4 -10
- package/styles/multi-select/highcontrast.css +4 -10
- package/styles/multi-select/icons/_bds.scss +26 -26
- package/styles/multi-select/icons/_bootstrap-dark.scss +26 -26
- package/styles/multi-select/icons/_bootstrap.scss +26 -26
- package/styles/multi-select/icons/_bootstrap4.scss +37 -37
- package/styles/multi-select/icons/_bootstrap5.3.scss +26 -0
- package/styles/multi-select/icons/_bootstrap5.scss +26 -26
- package/styles/multi-select/icons/_fabric-dark.scss +26 -26
- package/styles/multi-select/icons/_fabric.scss +26 -26
- package/styles/multi-select/icons/_fluent.scss +55 -55
- package/styles/multi-select/icons/_fluent2.scss +692 -0
- package/styles/multi-select/icons/_fusionnew.scss +26 -26
- package/styles/multi-select/icons/_highcontrast-light.scss +26 -26
- package/styles/multi-select/icons/_highcontrast.scss +26 -26
- package/styles/multi-select/icons/_material-dark.scss +693 -693
- package/styles/multi-select/icons/_material.scss +693 -693
- package/styles/multi-select/icons/_material3.scss +695 -692
- package/styles/multi-select/icons/_tailwind.scss +26 -26
- package/styles/multi-select/material-dark.css +4 -10
- package/styles/multi-select/material.css +5 -11
- package/styles/multi-select/material3-dark.css +15 -18
- package/styles/multi-select/material3-dark.scss +1 -1
- package/styles/multi-select/material3.css +15 -18
- package/styles/multi-select/material3.scss +1 -1
- package/styles/multi-select/tailwind-dark.css +4 -10
- package/styles/multi-select/tailwind.css +4 -10
- package/styles/tailwind-dark.css +83 -319
- package/styles/tailwind-dark.scss +28 -8
- package/styles/tailwind.css +83 -319
- package/styles/tailwind.scss +28 -8
- package/.eslintrc.json +0 -260
- package/dist/ej2-dropdowns.min.js +0 -10
- package/dist/global/ej2-dropdowns.min.js +0 -11
- package/dist/global/ej2-dropdowns.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/tslint.json +0 -111
|
@@ -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';
|
|
@@ -87,7 +87,6 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
87
87
|
function DropDownBase(options, element) {
|
|
88
88
|
var _this = _super.call(this, options, element) || this;
|
|
89
89
|
_this.preventChange = false;
|
|
90
|
-
_this.isAngular = false;
|
|
91
90
|
_this.isPreventChange = false;
|
|
92
91
|
_this.isDynamicDataChange = false;
|
|
93
92
|
_this.addedNewItem = false;
|
|
@@ -130,6 +129,8 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
130
129
|
_this.appendUncheckList = false;
|
|
131
130
|
_this.getInitialData = false;
|
|
132
131
|
_this.preventPopupOpen = true;
|
|
132
|
+
_this.virtualSelectAllState = false;
|
|
133
|
+
_this.CurrentEvent = null;
|
|
133
134
|
_this.virtualListInfo = {
|
|
134
135
|
currentPageNumber: null,
|
|
135
136
|
direction: null,
|
|
@@ -729,8 +730,8 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
729
730
|
if (!isWhereExist_1) {
|
|
730
731
|
_this.remoteDataCount = e.count;
|
|
731
732
|
}
|
|
732
|
-
_this.dataCount = e.count;
|
|
733
|
-
_this.totalItemCount = e.count;
|
|
733
|
+
_this.dataCount = !_this.virtualSelectAll ? e.count : _this.dataCount;
|
|
734
|
+
_this.totalItemCount = !_this.virtualSelectAll ? e.count : _this.totalItemCount;
|
|
734
735
|
ulElement = _this.renderItems(listItems, fields);
|
|
735
736
|
_this.appendUncheckList = false;
|
|
736
737
|
_this.onActionComplete(ulElement, listItems, e);
|
|
@@ -756,6 +757,12 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
756
757
|
if (_this.isVirtualizationEnabled) {
|
|
757
758
|
_this.getFilteringSkeletonCount();
|
|
758
759
|
}
|
|
760
|
+
if (_this.virtualSelectAll && _this.virtualSelectAllData) {
|
|
761
|
+
_this.virtualSelectionAll(_this.virtualSelectAllState, _this.liCollections, _this.CurrentEvent);
|
|
762
|
+
_this.virtualSelectAllState = false;
|
|
763
|
+
_this.CurrentEvent = null;
|
|
764
|
+
_this.virtualSelectAll = false;
|
|
765
|
+
}
|
|
759
766
|
}
|
|
760
767
|
});
|
|
761
768
|
}).catch(function (e) {
|
|
@@ -807,11 +814,11 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
807
814
|
}
|
|
808
815
|
}
|
|
809
816
|
}
|
|
810
|
-
if (isReOrder && (!(_this.dataSource instanceof DataManager) && !_this.isCustomDataUpdated)) {
|
|
817
|
+
if (isReOrder && (!(_this.dataSource instanceof DataManager) && !_this.isCustomDataUpdated) && !_this.virtualSelectAll) {
|
|
811
818
|
// eslint-disable @typescript-eslint/no-explicit-any
|
|
812
819
|
_this.dataCount = _this.totalItemCount = _this.virtualSelectAll ? listItems.length : listItems.count;
|
|
813
820
|
}
|
|
814
|
-
listItems = _this.isVirtualizationEnabled
|
|
821
|
+
listItems = _this.isVirtualizationEnabled ? listItems.result : listItems;
|
|
815
822
|
// eslint-enable @typescript-eslint/no-explicit-any
|
|
816
823
|
var localDataArgs = { cancel: false, result: listItems };
|
|
817
824
|
_this.isPreventChange = _this.isAngular && _this.preventChange ? true : _this.isPreventChange;
|
|
@@ -850,6 +857,9 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
850
857
|
DropDownBase.prototype.updatePopupState = function () {
|
|
851
858
|
// Used this method in component side.
|
|
852
859
|
};
|
|
860
|
+
DropDownBase.prototype.virtualSelectionAll = function (state, li, event) {
|
|
861
|
+
// Used this method in component side.
|
|
862
|
+
};
|
|
853
863
|
DropDownBase.prototype.updateRemoteData = function () {
|
|
854
864
|
this.setListData(this.dataSource, this.fields, this.query);
|
|
855
865
|
};
|
|
@@ -1147,10 +1157,14 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1147
1157
|
}
|
|
1148
1158
|
};
|
|
1149
1159
|
DropDownBase.prototype.updateGroupFixedHeader = function (element, target) {
|
|
1150
|
-
this.fixedHeaderElement
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1160
|
+
if (this.fixedHeaderElement) {
|
|
1161
|
+
if (!isNullOrUndefined(element.innerHTML)) {
|
|
1162
|
+
this.fixedHeaderElement.innerHTML = element.innerHTML;
|
|
1163
|
+
}
|
|
1164
|
+
this.fixedHeaderElement.style.position = 'fixed';
|
|
1165
|
+
this.fixedHeaderElement.style.top = (this.list.parentElement.offsetTop + this.list.offsetTop) - window.scrollY + 'px';
|
|
1166
|
+
this.fixedHeaderElement.style.display = 'block';
|
|
1167
|
+
}
|
|
1154
1168
|
};
|
|
1155
1169
|
DropDownBase.prototype.getValidLi = function () {
|
|
1156
1170
|
if (this.isVirtualizationEnabled) {
|
|
@@ -1341,12 +1355,15 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1341
1355
|
* @param {string | number | boolean} value - Specifies given value.
|
|
1342
1356
|
* @returns {number} Returns the index of the item.
|
|
1343
1357
|
*/
|
|
1344
|
-
DropDownBase.prototype.getIndexByValueFilter = function (value) {
|
|
1358
|
+
DropDownBase.prototype.getIndexByValueFilter = function (value, ulElement) {
|
|
1345
1359
|
var index;
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1360
|
+
if (!ulElement) {
|
|
1361
|
+
return null;
|
|
1362
|
+
}
|
|
1363
|
+
var listItems = ulElement.querySelectorAll('li' + ':not(.e-list-group-item)');
|
|
1364
|
+
if (listItems) {
|
|
1365
|
+
for (var i = 0; i < listItems.length; i++) {
|
|
1366
|
+
if (!isNullOrUndefined(value) && listItems[i].getAttribute('data-value') === value.toString()) {
|
|
1350
1367
|
index = i;
|
|
1351
1368
|
break;
|
|
1352
1369
|
}
|
|
@@ -1508,6 +1525,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1508
1525
|
var group = this.element.querySelector('select>optgroup');
|
|
1509
1526
|
if ((this.fields.groupBy || !isNullOrUndefined(group)) && !this.isGroupChecking) {
|
|
1510
1527
|
EventHandler.add(this.list, 'scroll', this.setFloatingHeader, this);
|
|
1528
|
+
EventHandler.add(document, 'scroll', this.updateGroupFixedHeader, this);
|
|
1511
1529
|
}
|
|
1512
1530
|
if (this.getModuleName() === 'dropdownbase') {
|
|
1513
1531
|
if (this.element.getAttribute('tabindex')) {
|
|
@@ -1556,7 +1574,7 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1556
1574
|
* @param { Object[] } items - Specifies an array of JSON data or a JSON data.
|
|
1557
1575
|
* @param { number } itemIndex - Specifies the index to place the newly added item in the popup list.
|
|
1558
1576
|
* @returns {void}
|
|
1559
|
-
|
|
1577
|
+
* @deprecated
|
|
1560
1578
|
*/
|
|
1561
1579
|
DropDownBase.prototype.addItem = function (items, itemIndex) {
|
|
1562
1580
|
if (!this.list || (this.list.textContent === this.noRecordsTemplate && this.getModuleName() !== 'listbox')) {
|
|
@@ -1761,12 +1779,15 @@ var DropDownBase = /** @class */ (function (_super) {
|
|
|
1761
1779
|
* @returns {void}
|
|
1762
1780
|
*/
|
|
1763
1781
|
DropDownBase.prototype.destroy = function () {
|
|
1764
|
-
if (document
|
|
1765
|
-
EventHandler.remove(
|
|
1766
|
-
if (
|
|
1767
|
-
this.
|
|
1782
|
+
if (document) {
|
|
1783
|
+
EventHandler.remove(document, 'scroll', this.updateGroupFixedHeader);
|
|
1784
|
+
if (document.body.contains(this.list)) {
|
|
1785
|
+
EventHandler.remove(this.list, 'scroll', this.setFloatingHeader);
|
|
1786
|
+
if (!isNullOrUndefined(this.rippleFun)) {
|
|
1787
|
+
this.rippleFun();
|
|
1788
|
+
}
|
|
1789
|
+
detach(this.list);
|
|
1768
1790
|
}
|
|
1769
|
-
detach(this.list);
|
|
1770
1791
|
}
|
|
1771
1792
|
this.liCollections = null;
|
|
1772
1793
|
this.ulElement = null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventHandler, Property, Event, compile, EmitType, KeyboardEvents, append, select, ModuleDeclaration } from '@syncfusion/ej2-base';
|
|
1
|
+
import { EventHandler, Property, Event, compile, EmitType, KeyboardEvents, append, select, ModuleDeclaration } from '@syncfusion/ej2-base';
|
|
2
2
|
import {ChangeEventArgs} from "./drop-down-list";
|
|
3
3
|
import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
|
|
4
4
|
|
|
@@ -8,269 +8,269 @@ import {DropDownBaseModel} from "../drop-down-base/drop-down-base-model";
|
|
|
8
8
|
export interface DropDownListModel extends DropDownBaseModel{
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Sets CSS classes to the root element of the component that allows customization of appearance.
|
|
12
|
-
*
|
|
13
|
-
* @default null
|
|
14
|
-
*/
|
|
15
|
-
cssClass?: string;
|
|
11
|
+
* Sets CSS classes to the root element of the component that allows customization of appearance.
|
|
12
|
+
*
|
|
13
|
+
* @default null
|
|
14
|
+
*/
|
|
15
|
+
cssClass?: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Specifies the width of the component. By default, the component width sets based on the width of
|
|
19
|
-
* its parent container. You can also set the width in pixel values.
|
|
20
|
-
*
|
|
21
|
-
* @default '100%'
|
|
22
|
-
* @aspType string
|
|
23
|
-
*/
|
|
24
|
-
width?: string | number;
|
|
18
|
+
* Specifies the width of the component. By default, the component width sets based on the width of
|
|
19
|
+
* its parent container. You can also set the width in pixel values.
|
|
20
|
+
*
|
|
21
|
+
* @default '100%'
|
|
22
|
+
* @aspType string
|
|
23
|
+
*/
|
|
24
|
+
width?: string | number;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Specifies a value that indicates whether the component is enabled or not.
|
|
28
|
-
*
|
|
29
|
-
* @default true
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
enabled?: boolean;
|
|
27
|
+
* Specifies a value that indicates whether the component is enabled or not.
|
|
28
|
+
*
|
|
29
|
+
* @default true
|
|
30
|
+
* @deprecated
|
|
31
|
+
*/
|
|
32
|
+
enabled?: boolean;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* Enable or disable persisting component's state between page reloads.
|
|
36
|
-
* If enabled, following list of states will be persisted.
|
|
37
|
-
* 1. value
|
|
38
|
-
*
|
|
39
|
-
* @default false
|
|
40
|
-
|
|
41
|
-
*/
|
|
42
|
-
enablePersistence?: boolean;
|
|
35
|
+
* Enable or disable persisting component's state between page reloads.
|
|
36
|
+
* If enabled, following list of states will be persisted.
|
|
37
|
+
* 1. value
|
|
38
|
+
*
|
|
39
|
+
* @default false
|
|
40
|
+
* @deprecated
|
|
41
|
+
*/
|
|
42
|
+
enablePersistence?: boolean;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
* Specifies the height of the popup list.
|
|
46
|
-
* > For more details about the popup configuration refer to
|
|
47
|
-
* [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
|
|
48
|
-
*
|
|
49
|
-
* @default '300px'
|
|
50
|
-
* @aspType string
|
|
51
|
-
*/
|
|
52
|
-
popupHeight?: string | number;
|
|
45
|
+
* Specifies the height of the popup list.
|
|
46
|
+
* > For more details about the popup configuration refer to
|
|
47
|
+
* [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
|
|
48
|
+
*
|
|
49
|
+
* @default '300px'
|
|
50
|
+
* @aspType string
|
|
51
|
+
*/
|
|
52
|
+
popupHeight?: string | number;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Specifies the width of the popup list. By default, the popup width sets based on the width of
|
|
56
|
-
* the component.
|
|
57
|
-
* > For more details about the popup configuration refer to
|
|
58
|
-
* [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
|
|
59
|
-
*
|
|
60
|
-
* @default '100%'
|
|
61
|
-
* @aspType string
|
|
62
|
-
*/
|
|
63
|
-
popupWidth?: string | number;
|
|
55
|
+
* Specifies the width of the popup list. By default, the popup width sets based on the width of
|
|
56
|
+
* the component.
|
|
57
|
+
* > For more details about the popup configuration refer to
|
|
58
|
+
* [`Popup Configuration`](../../drop-down-list/getting-started#configure-the-popup-list) documentation.
|
|
59
|
+
*
|
|
60
|
+
* @default '100%'
|
|
61
|
+
* @aspType string
|
|
62
|
+
*/
|
|
63
|
+
popupWidth?: string | number;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* Specifies a short hint that describes the expected value of the DropDownList component.
|
|
67
|
-
*
|
|
68
|
-
* @default null
|
|
69
|
-
*/
|
|
70
|
-
placeholder?: string;
|
|
66
|
+
* Specifies a short hint that describes the expected value of the DropDownList component.
|
|
67
|
+
*
|
|
68
|
+
* @default null
|
|
69
|
+
*/
|
|
70
|
+
placeholder?: string;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
* Accepts the value to be displayed as a watermark text on the filter bar.
|
|
74
|
-
*
|
|
75
|
-
* @default null
|
|
76
|
-
*/
|
|
77
|
-
filterBarPlaceholder?: string;
|
|
73
|
+
* Accepts the value to be displayed as a watermark text on the filter bar.
|
|
74
|
+
*
|
|
75
|
+
* @default null
|
|
76
|
+
*/
|
|
77
|
+
filterBarPlaceholder?: string;
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
* Allows additional HTML attributes such as title, name, etc., and
|
|
81
|
-
* accepts n number of attributes in a key-value pair format.
|
|
82
|
-
*
|
|
83
|
-
* {% codeBlock src='dropdownlist/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
84
|
-
*
|
|
85
|
-
* @default {}
|
|
86
|
-
*/
|
|
87
|
-
htmlAttributes?: { [key: string]: string };
|
|
80
|
+
* Allows additional HTML attributes such as title, name, etc., and
|
|
81
|
+
* accepts n number of attributes in a key-value pair format.
|
|
82
|
+
*
|
|
83
|
+
* {% codeBlock src='dropdownlist/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
84
|
+
*
|
|
85
|
+
* @default {}
|
|
86
|
+
*/
|
|
87
|
+
htmlAttributes?: { [key: string]: string };
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
* Accepts the external `Query`
|
|
91
|
-
* that execute along with data processing.
|
|
92
|
-
*
|
|
93
|
-
* {% codeBlock src='dropdownlist/query/index.md' %}{% endcodeBlock %}
|
|
94
|
-
*
|
|
95
|
-
* @default null
|
|
96
|
-
|
|
97
|
-
*/
|
|
98
|
-
query?: Query;
|
|
90
|
+
* Accepts the external `Query`
|
|
91
|
+
* that execute along with data processing.
|
|
92
|
+
*
|
|
93
|
+
* {% codeBlock src='dropdownlist/query/index.md' %}{% endcodeBlock %}
|
|
94
|
+
*
|
|
95
|
+
* @default null
|
|
96
|
+
* @deprecated
|
|
97
|
+
*/
|
|
98
|
+
query?: Query;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
* Accepts the template design and assigns it to the selected list item in the input element of the component.
|
|
102
|
-
* For more details about the available template options refer to
|
|
103
|
-
* [`Template`](../../drop-down-list/templates) documentation.
|
|
104
|
-
*
|
|
105
|
-
* We have built-in `template engine`
|
|
106
|
-
* which provides options to compile template string into a executable function.
|
|
107
|
-
* For EX: We have expression evolution as like ES6 expression string literals.
|
|
108
|
-
*
|
|
109
|
-
* @default null
|
|
110
|
-
* @aspType string
|
|
111
|
-
*/
|
|
112
|
-
valueTemplate?: string | Function;
|
|
101
|
+
* Accepts the template design and assigns it to the selected list item in the input element of the component.
|
|
102
|
+
* For more details about the available template options refer to
|
|
103
|
+
* [`Template`](../../drop-down-list/templates) documentation.
|
|
104
|
+
*
|
|
105
|
+
* We have built-in `template engine`
|
|
106
|
+
* which provides options to compile template string into a executable function.
|
|
107
|
+
* For EX: We have expression evolution as like ES6 expression string literals.
|
|
108
|
+
*
|
|
109
|
+
* @default null
|
|
110
|
+
* @aspType string
|
|
111
|
+
*/
|
|
112
|
+
valueTemplate?: string | Function;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
* Accepts the template design and assigns it to the header container of the popup list.
|
|
116
|
-
* > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
|
|
117
|
-
*
|
|
118
|
-
* @default null
|
|
119
|
-
* @aspType string
|
|
120
|
-
*/
|
|
121
|
-
headerTemplate?: string | Function;
|
|
115
|
+
* Accepts the template design and assigns it to the header container of the popup list.
|
|
116
|
+
* > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
|
|
117
|
+
*
|
|
118
|
+
* @default null
|
|
119
|
+
* @aspType string
|
|
120
|
+
*/
|
|
121
|
+
headerTemplate?: string | Function;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
|
-
* Accepts the template design and assigns it to the footer container of the popup list.
|
|
125
|
-
* > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
|
|
126
|
-
*
|
|
127
|
-
* @default null
|
|
128
|
-
* @aspType string
|
|
129
|
-
*/
|
|
130
|
-
footerTemplate?: string | Function;
|
|
124
|
+
* Accepts the template design and assigns it to the footer container of the popup list.
|
|
125
|
+
* > For more details about the available template options refer to [`Template`](../../drop-down-list/templates) documentation.
|
|
126
|
+
*
|
|
127
|
+
* @default null
|
|
128
|
+
* @aspType string
|
|
129
|
+
*/
|
|
130
|
+
footerTemplate?: string | Function;
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
|
-
* When allowFiltering is set to true, show the filter bar (search box) of the component.
|
|
134
|
-
* The filter action retrieves matched items through the `filtering` event based on
|
|
135
|
-
* the characters typed in the search TextBox.
|
|
136
|
-
*
|
|
137
|
-
* If no match is found, the value of the `noRecordsTemplate` property will be displayed.
|
|
138
|
-
* > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
|
|
139
|
-
*
|
|
140
|
-
* {% codeBlock src="dropdownlist/allow-filtering-api/index.ts" %}{% endcodeBlock %}
|
|
141
|
-
*
|
|
142
|
-
* {% codeBlock src="dropdownlist/allow-filtering-api/index.html" %}{% endcodeBlock %}
|
|
143
|
-
*
|
|
144
|
-
* @default false
|
|
145
|
-
*/
|
|
146
|
-
allowFiltering?: boolean;
|
|
133
|
+
* When allowFiltering is set to true, show the filter bar (search box) of the component.
|
|
134
|
+
* The filter action retrieves matched items through the `filtering` event based on
|
|
135
|
+
* the characters typed in the search TextBox.
|
|
136
|
+
*
|
|
137
|
+
* If no match is found, the value of the `noRecordsTemplate` property will be displayed.
|
|
138
|
+
* > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
|
|
139
|
+
*
|
|
140
|
+
* {% codeBlock src="dropdownlist/allow-filtering-api/index.ts" %}{% endcodeBlock %}
|
|
141
|
+
*
|
|
142
|
+
* {% codeBlock src="dropdownlist/allow-filtering-api/index.html" %}{% endcodeBlock %}
|
|
143
|
+
*
|
|
144
|
+
* @default false
|
|
145
|
+
*/
|
|
146
|
+
allowFiltering?: boolean;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* When set to true, the user interactions on the component are disabled.
|
|
150
|
-
*
|
|
151
|
-
* @default false
|
|
152
|
-
*/
|
|
153
|
-
readonly?: boolean;
|
|
149
|
+
* When set to true, the user interactions on the component are disabled.
|
|
150
|
+
*
|
|
151
|
+
* @default false
|
|
152
|
+
*/
|
|
153
|
+
readonly?: boolean;
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
|
-
* Defines whether to enable virtual scrolling in the component.
|
|
157
|
-
*
|
|
158
|
-
* @default false
|
|
159
|
-
*/
|
|
160
|
-
enableVirtualization?: boolean;
|
|
156
|
+
* Defines whether to enable virtual scrolling in the component.
|
|
157
|
+
*
|
|
158
|
+
* @default false
|
|
159
|
+
*/
|
|
160
|
+
enableVirtualization?: boolean;
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
|
-
* Gets or sets the display text of the selected item in the component.
|
|
164
|
-
*
|
|
165
|
-
* @default null
|
|
166
|
-
* @aspType string
|
|
167
|
-
*/
|
|
168
|
-
text?: string | null;
|
|
163
|
+
* Gets or sets the display text of the selected item in the component.
|
|
164
|
+
*
|
|
165
|
+
* @default null
|
|
166
|
+
* @aspType string
|
|
167
|
+
*/
|
|
168
|
+
text?: string | null;
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
|
-
* Gets or sets the value of the selected item in the component.
|
|
172
|
-
*
|
|
173
|
-
* @default null
|
|
174
|
-
* @isGenericType true
|
|
175
|
-
*/
|
|
176
|
-
value?: number | string | boolean | object | null;
|
|
171
|
+
* Gets or sets the value of the selected item in the component.
|
|
172
|
+
*
|
|
173
|
+
* @default null
|
|
174
|
+
* @isGenericType true
|
|
175
|
+
*/
|
|
176
|
+
value?: number | string | boolean | object | null;
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
|
-
* Defines whether the object binding is allowed or not in the component.
|
|
180
|
-
*
|
|
181
|
-
* @default false
|
|
182
|
-
*/
|
|
183
|
-
allowObjectBinding?: boolean;
|
|
179
|
+
* Defines whether the object binding is allowed or not in the component.
|
|
180
|
+
*
|
|
181
|
+
* @default false
|
|
182
|
+
*/
|
|
183
|
+
allowObjectBinding?: boolean;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* Gets or sets the index of the selected item in the component.
|
|
187
|
-
*
|
|
188
|
-
* {% codeBlock src="dropdownlist/index-api/index.ts" %}{% endcodeBlock %}
|
|
189
|
-
*
|
|
190
|
-
* {% codeBlock src="dropdownlist/index-api/index.html" %}{% endcodeBlock %}
|
|
191
|
-
*
|
|
192
|
-
* @default null
|
|
193
|
-
* @aspType double
|
|
194
|
-
*/
|
|
195
|
-
index?: number | null;
|
|
186
|
+
* Gets or sets the index of the selected item in the component.
|
|
187
|
+
*
|
|
188
|
+
* {% codeBlock src="dropdownlist/index-api/index.ts" %}{% endcodeBlock %}
|
|
189
|
+
*
|
|
190
|
+
* {% codeBlock src="dropdownlist/index-api/index.html" %}{% endcodeBlock %}
|
|
191
|
+
*
|
|
192
|
+
* @default null
|
|
193
|
+
* @aspType double
|
|
194
|
+
*/
|
|
195
|
+
index?: number | null;
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
|
-
* Specifies whether to display the floating label above the input element.
|
|
199
|
-
* Possible values are:
|
|
200
|
-
* * Never: The label will never float in the input when the placeholder is available.
|
|
201
|
-
* * Always: The floating label will always float above the input.
|
|
202
|
-
* * Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
203
|
-
*
|
|
204
|
-
* {% codeBlock src="dropdownlist/float-label-type-api/index.ts" %}{% endcodeBlock %}
|
|
205
|
-
*
|
|
206
|
-
* {% codeBlock src="dropdownlist/float-label-type-api/index.html" %}{% endcodeBlock %}
|
|
207
|
-
*
|
|
208
|
-
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
209
|
-
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
210
|
-
* @isEnumeration true
|
|
211
|
-
*/
|
|
212
|
-
floatLabelType?: FloatLabelType;
|
|
198
|
+
* Specifies whether to display the floating label above the input element.
|
|
199
|
+
* Possible values are:
|
|
200
|
+
* * Never: The label will never float in the input when the placeholder is available.
|
|
201
|
+
* * Always: The floating label will always float above the input.
|
|
202
|
+
* * Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
203
|
+
*
|
|
204
|
+
* {% codeBlock src="dropdownlist/float-label-type-api/index.ts" %}{% endcodeBlock %}
|
|
205
|
+
*
|
|
206
|
+
* {% codeBlock src="dropdownlist/float-label-type-api/index.html" %}{% endcodeBlock %}
|
|
207
|
+
*
|
|
208
|
+
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
209
|
+
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
210
|
+
* @isEnumeration true
|
|
211
|
+
*/
|
|
212
|
+
floatLabelType?: FloatLabelType;
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
|
-
* Specifies whether to show or hide the clear button.
|
|
216
|
-
* When the clear button is clicked, `value`, `text`, and `index` properties are reset to null.
|
|
217
|
-
*
|
|
218
|
-
* @default false
|
|
219
|
-
*/
|
|
220
|
-
showClearButton?: boolean;
|
|
215
|
+
* Specifies whether to show or hide the clear button.
|
|
216
|
+
* When the clear button is clicked, `value`, `text`, and `index` properties are reset to null.
|
|
217
|
+
*
|
|
218
|
+
* @default false
|
|
219
|
+
*/
|
|
220
|
+
showClearButton?: boolean;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
|
-
* Triggers on typing a character in the filter bar when the
|
|
224
|
-
* [`allowFiltering`](./#allowfiltering)
|
|
225
|
-
* is enabled.
|
|
226
|
-
* > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
|
|
227
|
-
*
|
|
228
|
-
* @event filtering
|
|
229
|
-
*/
|
|
230
|
-
filtering?: EmitType<FilteringEventArgs>;
|
|
223
|
+
* Triggers on typing a character in the filter bar when the
|
|
224
|
+
* [`allowFiltering`](./#allowfiltering)
|
|
225
|
+
* is enabled.
|
|
226
|
+
* > For more details about the filtering refer to [`Filtering`](../../drop-down-list/filtering) documentation.
|
|
227
|
+
*
|
|
228
|
+
* @event filtering
|
|
229
|
+
*/
|
|
230
|
+
filtering?: EmitType<FilteringEventArgs>;
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
|
-
* Triggers when an item in a popup is selected or when the model value is changed by user.
|
|
234
|
-
* Use change event to
|
|
235
|
-
* [`Configure the Cascading DropDownList`](../../drop-down-list/how-to/cascading)
|
|
236
|
-
*
|
|
237
|
-
* @event change
|
|
238
|
-
*/
|
|
239
|
-
change?: EmitType<ChangeEventArgs>;
|
|
233
|
+
* Triggers when an item in a popup is selected or when the model value is changed by user.
|
|
234
|
+
* Use change event to
|
|
235
|
+
* [`Configure the Cascading DropDownList`](../../drop-down-list/how-to/cascading)
|
|
236
|
+
*
|
|
237
|
+
* @event change
|
|
238
|
+
*/
|
|
239
|
+
change?: EmitType<ChangeEventArgs>;
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
|
-
* Triggers when the popup before opens.
|
|
243
|
-
*
|
|
244
|
-
* @event beforeOpen
|
|
245
|
-
*/
|
|
246
|
-
beforeOpen?: EmitType<Object>;
|
|
242
|
+
* Triggers when the popup before opens.
|
|
243
|
+
*
|
|
244
|
+
* @event beforeOpen
|
|
245
|
+
*/
|
|
246
|
+
beforeOpen?: EmitType<Object>;
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
|
-
* Triggers when the popup opens.
|
|
250
|
-
*
|
|
251
|
-
* @event open
|
|
252
|
-
*/
|
|
253
|
-
open?: EmitType<PopupEventArgs>;
|
|
249
|
+
* Triggers when the popup opens.
|
|
250
|
+
*
|
|
251
|
+
* @event open
|
|
252
|
+
*/
|
|
253
|
+
open?: EmitType<PopupEventArgs>;
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
|
-
* Triggers when the popup is closed.
|
|
257
|
-
*
|
|
258
|
-
* @event close
|
|
259
|
-
*/
|
|
260
|
-
close?: EmitType<PopupEventArgs>;
|
|
256
|
+
* Triggers when the popup is closed.
|
|
257
|
+
*
|
|
258
|
+
* @event close
|
|
259
|
+
*/
|
|
260
|
+
close?: EmitType<PopupEventArgs>;
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
|
-
* Triggers when focus moves out from the component.
|
|
264
|
-
*
|
|
265
|
-
* @event blur
|
|
266
|
-
*/
|
|
267
|
-
blur?: EmitType<Object>;
|
|
263
|
+
* Triggers when focus moves out from the component.
|
|
264
|
+
*
|
|
265
|
+
* @event blur
|
|
266
|
+
*/
|
|
267
|
+
blur?: EmitType<Object>;
|
|
268
268
|
|
|
269
269
|
/**
|
|
270
|
-
* Triggers when the component is focused.
|
|
271
|
-
*
|
|
272
|
-
* @event focus
|
|
273
|
-
*/
|
|
274
|
-
focus?: EmitType<Object>;
|
|
270
|
+
* Triggers when the component is focused.
|
|
271
|
+
*
|
|
272
|
+
* @event focus
|
|
273
|
+
*/
|
|
274
|
+
focus?: EmitType<Object>;
|
|
275
275
|
|
|
276
276
|
}
|