@syncfusion/ej2-dropdowns 29.1.41 → 29.2.4-850322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{README.md → ReadMe.md} +217 -217
- package/dist/ej2-dropdowns.umd.min.js +1 -10
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +299 -153
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +467 -319
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/license +2 -2
- package/package.json +81 -81
- package/src/auto-complete/auto-complete-model.d.ts +190 -190
- package/src/auto-complete/auto-complete.d.ts +13 -12
- package/src/auto-complete/auto-complete.js +30 -22
- package/src/combo-box/combo-box-model.d.ts +232 -240
- package/src/combo-box/combo-box.d.ts +26 -33
- package/src/combo-box/combo-box.js +29 -32
- package/src/common/virtual-scroll.js +54 -49
- package/src/drop-down-base/drop-down-base-model.d.ts +205 -205
- package/src/drop-down-base/drop-down-base.d.ts +20 -16
- package/src/drop-down-base/drop-down-base.js +74 -30
- package/src/drop-down-list/drop-down-list-model.d.ts +310 -303
- package/src/drop-down-list/drop-down-list.d.ts +12 -5
- package/src/drop-down-list/drop-down-list.js +75 -50
- package/src/drop-down-tree/drop-down-tree-model.d.ts +493 -493
- package/src/drop-down-tree/drop-down-tree.d.ts +2 -1
- package/src/drop-down-tree/drop-down-tree.js +30 -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 +274 -267
- package/src/mention/mention.d.ts +9 -1
- package/src/mention/mention.js +49 -36
- package/src/multi-select/multi-select-model.d.ts +565 -558
- package/src/multi-select/multi-select.d.ts +11 -1
- package/src/multi-select/multi-select.js +109 -64
- package/styles/bds-lite.css +0 -3040
- package/styles/bds-lite.scss +0 -28
- package/styles/bds.css +0 -3890
- package/styles/bds.scss +0 -33
- package/styles/bootstrap-dark-lite.css +0 -2826
- package/styles/bootstrap-dark-lite.scss +0 -28
- package/styles/bootstrap-dark.css +0 -3520
- package/styles/bootstrap-dark.scss +0 -33
- package/styles/bootstrap-lite.css +0 -2822
- package/styles/bootstrap-lite.scss +0 -28
- package/styles/bootstrap.css +0 -3522
- package/styles/bootstrap.scss +0 -33
- package/styles/bootstrap4-lite.css +0 -2927
- package/styles/bootstrap4-lite.scss +0 -28
- package/styles/bootstrap4.css +0 -3796
- package/styles/bootstrap4.scss +0 -33
- package/styles/bootstrap5-dark-lite.css +0 -2906
- package/styles/bootstrap5-dark-lite.scss +0 -28
- package/styles/bootstrap5-dark.css +0 -3695
- package/styles/bootstrap5-dark.scss +0 -33
- package/styles/bootstrap5-lite.css +0 -2906
- package/styles/bootstrap5-lite.scss +0 -28
- package/styles/bootstrap5.3-lite.css +0 -2898
- package/styles/bootstrap5.3-lite.scss +0 -28
- package/styles/bootstrap5.3.css +0 -3644
- package/styles/bootstrap5.3.scss +0 -33
- package/styles/bootstrap5.css +0 -3695
- package/styles/bootstrap5.scss +0 -33
- package/styles/fabric-dark-lite.css +0 -2804
- package/styles/fabric-dark-lite.scss +0 -28
- package/styles/fabric-dark.css +0 -3500
- package/styles/fabric-dark.scss +0 -33
- package/styles/fabric-lite.css +0 -2800
- package/styles/fabric-lite.scss +0 -28
- package/styles/fabric.css +0 -3502
- package/styles/fabric.scss +0 -33
- package/styles/fluent-dark-lite.css +0 -2931
- package/styles/fluent-dark-lite.scss +0 -28
- package/styles/fluent-dark.css +0 -3730
- package/styles/fluent-dark.scss +0 -33
- package/styles/fluent-lite.css +0 -2931
- package/styles/fluent-lite.scss +0 -28
- package/styles/fluent.css +0 -3730
- package/styles/fluent.scss +0 -33
- package/styles/fluent2-lite.css +0 -3122
- package/styles/fluent2-lite.scss +0 -28
- package/styles/fluent2.css +0 -3915
- package/styles/fluent2.scss +0 -33
- package/styles/highcontrast-light-lite.css +0 -2903
- package/styles/highcontrast-light-lite.scss +0 -28
- package/styles/highcontrast-light.css +0 -3591
- package/styles/highcontrast-light.scss +0 -33
- package/styles/highcontrast-lite.css +0 -2949
- package/styles/highcontrast-lite.scss +0 -28
- package/styles/highcontrast.css +0 -3643
- package/styles/highcontrast.scss +0 -33
- package/styles/material-dark-lite.css +0 -3587
- package/styles/material-dark-lite.scss +0 -28
- package/styles/material-dark.css +0 -5060
- package/styles/material-dark.scss +0 -33
- package/styles/material-lite.css +0 -3618
- package/styles/material-lite.scss +0 -28
- package/styles/material.css +0 -5118
- package/styles/material.scss +0 -33
- package/styles/material3-dark-lite.css +0 -3521
- package/styles/material3-dark-lite.scss +0 -28
- package/styles/material3-dark.css +0 -5109
- package/styles/material3-dark.scss +0 -35
- package/styles/material3-lite.css +0 -3523
- package/styles/material3-lite.scss +0 -28
- package/styles/material3.css +0 -5111
- package/styles/material3.scss +0 -35
- package/styles/tailwind-dark-lite.css +0 -2877
- package/styles/tailwind-dark-lite.scss +0 -28
- package/styles/tailwind-dark.css +0 -3727
- package/styles/tailwind-dark.scss +0 -33
- package/styles/tailwind-lite.css +0 -2877
- package/styles/tailwind-lite.scss +0 -28
- package/styles/tailwind.css +0 -3727
- package/styles/tailwind.scss +0 -33
- package/styles/tailwind3-lite.css +0 -2920
- package/styles/tailwind3-lite.scss +0 -28
- package/styles/tailwind3.css +0 -3596
- package/styles/tailwind3.scss +0 -33
- package/.eslintrc.json +0 -261
- package/dist/ej2-dropdowns.min.js +0 -10
- package/dist/global/ej2-dropdowns.min.js +0 -11
- package/dist/global/ej2-dropdowns.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/helpers/e2e/autocomplete.d.ts +0 -16
- package/helpers/e2e/autocomplete.js +0 -60
- package/helpers/e2e/combobox.d.ts +0 -17
- package/helpers/e2e/combobox.js +0 -63
- package/helpers/e2e/dropdownlist.d.ts +0 -20
- package/helpers/e2e/dropdownlist.js +0 -72
- package/helpers/e2e/index.d.ts +0 -4
- package/helpers/e2e/index.js +0 -11
- package/helpers/e2e/listboxHelper.d.ts +0 -22
- package/helpers/e2e/listboxHelper.js +0 -56
- package/helpers/e2e/multiselect.d.ts +0 -31
- package/helpers/e2e/multiselect.js +0 -105
- package/styles/auto-complete/_all.scss +0 -1
- package/styles/auto-complete/_bds-definition.scss +0 -2
- package/styles/auto-complete/_bootstrap-dark-definition.scss +0 -3
- package/styles/auto-complete/_bootstrap-definition.scss +0 -2
- package/styles/auto-complete/_bootstrap4-definition.scss +0 -11
- package/styles/auto-complete/_bootstrap5-dark-definition.scss +0 -1
- package/styles/auto-complete/_bootstrap5-definition.scss +0 -2
- package/styles/auto-complete/_bootstrap5.3-definition.scss +0 -2
- package/styles/auto-complete/_fabric-dark-definition.scss +0 -2
- package/styles/auto-complete/_fabric-definition.scss +0 -2
- package/styles/auto-complete/_fluent-dark-definition.scss +0 -1
- package/styles/auto-complete/_fluent-definition.scss +0 -2
- package/styles/auto-complete/_fluent2-definition.scss +0 -2
- package/styles/auto-complete/_fusionnew-definition.scss +0 -2
- package/styles/auto-complete/_highcontrast-definition.scss +0 -2
- package/styles/auto-complete/_highcontrast-light-definition.scss +0 -2
- package/styles/auto-complete/_material-dark-definition.scss +0 -2
- package/styles/auto-complete/_material-definition.scss +0 -2
- package/styles/auto-complete/_material3-dark-definition.scss +0 -1
- package/styles/auto-complete/_material3-definition.scss +0 -2
- package/styles/auto-complete/_tailwind-dark-definition.scss +0 -1
- package/styles/auto-complete/_tailwind-definition.scss +0 -2
- package/styles/auto-complete/_tailwind3-definition.scss +0 -2
- package/styles/auto-complete/bds.css +0 -75
- package/styles/auto-complete/bds.scss +0 -4
- package/styles/auto-complete/bootstrap-dark.css +0 -59
- package/styles/auto-complete/bootstrap-dark.scss +0 -4
- package/styles/auto-complete/bootstrap.css +0 -59
- package/styles/auto-complete/bootstrap.scss +0 -4
- package/styles/auto-complete/bootstrap4.css +0 -95
- package/styles/auto-complete/bootstrap4.scss +0 -4
- package/styles/auto-complete/bootstrap5-dark.css +0 -97
- package/styles/auto-complete/bootstrap5-dark.scss +0 -4
- package/styles/auto-complete/bootstrap5.3.css +0 -101
- package/styles/auto-complete/bootstrap5.3.scss +0 -4
- package/styles/auto-complete/bootstrap5.css +0 -97
- package/styles/auto-complete/bootstrap5.scss +0 -4
- package/styles/auto-complete/fabric-dark.css +0 -35
- package/styles/auto-complete/fabric-dark.scss +0 -4
- package/styles/auto-complete/fabric.css +0 -35
- package/styles/auto-complete/fabric.scss +0 -4
- package/styles/auto-complete/fluent-dark.css +0 -90
- package/styles/auto-complete/fluent-dark.scss +0 -4
- package/styles/auto-complete/fluent.css +0 -90
- package/styles/auto-complete/fluent.scss +0 -4
- package/styles/auto-complete/fluent2.css +0 -77
- package/styles/auto-complete/fluent2.scss +0 -4
- package/styles/auto-complete/highcontrast-light.css +0 -44
- package/styles/auto-complete/highcontrast-light.scss +0 -4
- package/styles/auto-complete/highcontrast.css +0 -44
- package/styles/auto-complete/highcontrast.scss +0 -4
- package/styles/auto-complete/material-dark.css +0 -84
- package/styles/auto-complete/material-dark.scss +0 -4
- package/styles/auto-complete/material.css +0 -88
- package/styles/auto-complete/material.scss +0 -4
- package/styles/auto-complete/material3-dark.css +0 -96
- package/styles/auto-complete/material3-dark.scss +0 -5
- package/styles/auto-complete/material3.css +0 -98
- package/styles/auto-complete/material3.scss +0 -5
- package/styles/auto-complete/tailwind-dark.css +0 -71
- package/styles/auto-complete/tailwind-dark.scss +0 -4
- package/styles/auto-complete/tailwind.css +0 -71
- package/styles/auto-complete/tailwind.scss +0 -4
- package/styles/auto-complete/tailwind3.css +0 -101
- package/styles/auto-complete/tailwind3.scss +0 -4
- package/styles/combo-box/_all.scss +0 -1
- package/styles/combo-box/_bds-definition.scss +0 -2
- package/styles/combo-box/_bootstrap-dark-definition.scss +0 -2
- package/styles/combo-box/_bootstrap-definition.scss +0 -2
- package/styles/combo-box/_bootstrap4-definition.scss +0 -11
- package/styles/combo-box/_bootstrap5-dark-definition.scss +0 -1
- package/styles/combo-box/_bootstrap5-definition.scss +0 -2
- package/styles/combo-box/_bootstrap5.3-definition.scss +0 -2
- package/styles/combo-box/_fabric-dark-definition.scss +0 -2
- package/styles/combo-box/_fabric-definition.scss +0 -2
- package/styles/combo-box/_fluent-dark-definition.scss +0 -1
- package/styles/combo-box/_fluent-definition.scss +0 -2
- package/styles/combo-box/_fluent2-definition.scss +0 -2
- package/styles/combo-box/_fusionnew-definition.scss +0 -2
- package/styles/combo-box/_highcontrast-definition.scss +0 -2
- package/styles/combo-box/_highcontrast-light-definition.scss +0 -3
- package/styles/combo-box/_material-dark-definition.scss +0 -2
- package/styles/combo-box/_material-definition.scss +0 -2
- package/styles/combo-box/_material3-dark-definition.scss +0 -1
- package/styles/combo-box/_material3-definition.scss +0 -2
- package/styles/combo-box/_tailwind-dark-definition.scss +0 -1
- package/styles/combo-box/_tailwind-definition.scss +0 -2
- package/styles/combo-box/_tailwind3-definition.scss +0 -2
- package/styles/combo-box/bds.css +0 -75
- package/styles/combo-box/bds.scss +0 -4
- package/styles/combo-box/bootstrap-dark.css +0 -59
- package/styles/combo-box/bootstrap-dark.scss +0 -4
- package/styles/combo-box/bootstrap.css +0 -59
- package/styles/combo-box/bootstrap.scss +0 -4
- package/styles/combo-box/bootstrap4.css +0 -95
- package/styles/combo-box/bootstrap4.scss +0 -4
- package/styles/combo-box/bootstrap5-dark.css +0 -97
- package/styles/combo-box/bootstrap5-dark.scss +0 -4
- package/styles/combo-box/bootstrap5.3.css +0 -101
- package/styles/combo-box/bootstrap5.3.scss +0 -4
- package/styles/combo-box/bootstrap5.css +0 -97
- package/styles/combo-box/bootstrap5.scss +0 -4
- package/styles/combo-box/fabric-dark.css +0 -35
- package/styles/combo-box/fabric-dark.scss +0 -4
- package/styles/combo-box/fabric.css +0 -35
- package/styles/combo-box/fabric.scss +0 -4
- package/styles/combo-box/fluent-dark.css +0 -90
- package/styles/combo-box/fluent-dark.scss +0 -4
- package/styles/combo-box/fluent.css +0 -90
- package/styles/combo-box/fluent.scss +0 -4
- package/styles/combo-box/fluent2.css +0 -77
- package/styles/combo-box/fluent2.scss +0 -4
- package/styles/combo-box/highcontrast-light.css +0 -44
- package/styles/combo-box/highcontrast-light.scss +0 -4
- package/styles/combo-box/highcontrast.css +0 -44
- package/styles/combo-box/highcontrast.scss +0 -4
- package/styles/combo-box/material-dark.css +0 -84
- package/styles/combo-box/material-dark.scss +0 -4
- package/styles/combo-box/material.css +0 -88
- package/styles/combo-box/material.scss +0 -4
- package/styles/combo-box/material3-dark.css +0 -96
- package/styles/combo-box/material3-dark.scss +0 -5
- package/styles/combo-box/material3.css +0 -98
- package/styles/combo-box/material3.scss +0 -5
- package/styles/combo-box/tailwind-dark.css +0 -71
- package/styles/combo-box/tailwind-dark.scss +0 -4
- package/styles/combo-box/tailwind.css +0 -71
- package/styles/combo-box/tailwind.scss +0 -4
- package/styles/combo-box/tailwind3.css +0 -101
- package/styles/combo-box/tailwind3.scss +0 -4
- package/styles/drop-down-base/_all.scss +0 -2
- package/styles/drop-down-base/_bds-definition.scss +0 -112
- package/styles/drop-down-base/_bigger.scss +0 -198
- package/styles/drop-down-base/_bootstrap-dark-definition.scss +0 -80
- package/styles/drop-down-base/_bootstrap-definition.scss +0 -78
- package/styles/drop-down-base/_bootstrap4-definition.scss +0 -83
- package/styles/drop-down-base/_bootstrap5-dark-definition.scss +0 -1
- package/styles/drop-down-base/_bootstrap5-definition.scss +0 -98
- package/styles/drop-down-base/_bootstrap5.3-definition.scss +0 -98
- package/styles/drop-down-base/_definition.scss +0 -23
- package/styles/drop-down-base/_fabric-dark-definition.scss +0 -81
- package/styles/drop-down-base/_fabric-definition.scss +0 -79
- package/styles/drop-down-base/_fluent-dark-definition.scss +0 -1
- package/styles/drop-down-base/_fluent-definition.scss +0 -102
- package/styles/drop-down-base/_fluent2-definition.scss +0 -113
- package/styles/drop-down-base/_fusionnew-definition.scss +0 -98
- package/styles/drop-down-base/_highcontrast-definition.scss +0 -96
- package/styles/drop-down-base/_highcontrast-light-definition.scss +0 -96
- package/styles/drop-down-base/_layout.scss +0 -148
- package/styles/drop-down-base/_material-dark-definition.scss +0 -82
- package/styles/drop-down-base/_material-definition.scss +0 -81
- package/styles/drop-down-base/_material3-dark-definition.scss +0 -1
- package/styles/drop-down-base/_material3-definition.scss +0 -73
- package/styles/drop-down-base/_tailwind-dark-definition.scss +0 -1
- package/styles/drop-down-base/_tailwind-definition.scss +0 -107
- package/styles/drop-down-base/_tailwind3-definition.scss +0 -98
- package/styles/drop-down-base/_theme.scss +0 -303
- package/styles/drop-down-base/bds.css +0 -496
- package/styles/drop-down-base/bds.scss +0 -4
- package/styles/drop-down-base/bootstrap-dark.css +0 -379
- package/styles/drop-down-base/bootstrap-dark.scss +0 -4
- package/styles/drop-down-base/bootstrap.css +0 -379
- package/styles/drop-down-base/bootstrap.scss +0 -4
- package/styles/drop-down-base/bootstrap4.css +0 -389
- package/styles/drop-down-base/bootstrap4.scss +0 -4
- package/styles/drop-down-base/bootstrap5-dark.css +0 -411
- package/styles/drop-down-base/bootstrap5-dark.scss +0 -4
- package/styles/drop-down-base/bootstrap5.3.css +0 -415
- package/styles/drop-down-base/bootstrap5.3.scss +0 -4
- package/styles/drop-down-base/bootstrap5.css +0 -411
- package/styles/drop-down-base/bootstrap5.scss +0 -4
- package/styles/drop-down-base/fabric-dark.css +0 -379
- package/styles/drop-down-base/fabric-dark.scss +0 -4
- package/styles/drop-down-base/fabric.css +0 -379
- package/styles/drop-down-base/fabric.scss +0 -4
- package/styles/drop-down-base/fluent-dark.css +0 -427
- package/styles/drop-down-base/fluent-dark.scss +0 -4
- package/styles/drop-down-base/fluent.css +0 -427
- package/styles/drop-down-base/fluent.scss +0 -4
- package/styles/drop-down-base/fluent2.css +0 -427
- package/styles/drop-down-base/fluent2.scss +0 -4
- package/styles/drop-down-base/highcontrast-light.css +0 -391
- package/styles/drop-down-base/highcontrast-light.scss +0 -4
- package/styles/drop-down-base/highcontrast.css +0 -391
- package/styles/drop-down-base/highcontrast.scss +0 -4
- package/styles/drop-down-base/material-dark.css +0 -378
- package/styles/drop-down-base/material-dark.scss +0 -4
- package/styles/drop-down-base/material.css +0 -378
- package/styles/drop-down-base/material.scss +0 -4
- package/styles/drop-down-base/material3-dark.css +0 -390
- package/styles/drop-down-base/material3-dark.scss +0 -5
- package/styles/drop-down-base/material3.css +0 -392
- package/styles/drop-down-base/material3.scss +0 -5
- package/styles/drop-down-base/tailwind-dark.css +0 -487
- package/styles/drop-down-base/tailwind-dark.scss +0 -4
- package/styles/drop-down-base/tailwind.css +0 -487
- package/styles/drop-down-base/tailwind.scss +0 -4
- package/styles/drop-down-base/tailwind3.css +0 -392
- package/styles/drop-down-base/tailwind3.scss +0 -4
- package/styles/drop-down-list/_all.scss +0 -3
- package/styles/drop-down-list/_bds-definition.scss +0 -100
- package/styles/drop-down-list/_bigger.scss +0 -713
- package/styles/drop-down-list/_bootstrap-dark-definition.scss +0 -94
- package/styles/drop-down-list/_bootstrap-definition.scss +0 -93
- package/styles/drop-down-list/_bootstrap4-definition.scss +0 -122
- package/styles/drop-down-list/_bootstrap5-dark-definition.scss +0 -1
- package/styles/drop-down-list/_bootstrap5-definition.scss +0 -135
- package/styles/drop-down-list/_bootstrap5.3-definition.scss +0 -136
- package/styles/drop-down-list/_fabric-dark-definition.scss +0 -72
- package/styles/drop-down-list/_fabric-definition.scss +0 -69
- package/styles/drop-down-list/_fluent-dark-definition.scss +0 -1
- package/styles/drop-down-list/_fluent-definition.scss +0 -128
- package/styles/drop-down-list/_fluent2-definition.scss +0 -101
- package/styles/drop-down-list/_fusionnew-definition.scss +0 -134
- package/styles/drop-down-list/_highcontrast-definition.scss +0 -83
- package/styles/drop-down-list/_highcontrast-light-definition.scss +0 -85
- package/styles/drop-down-list/_layout.scss +0 -284
- package/styles/drop-down-list/_material-dark-definition.scss +0 -110
- package/styles/drop-down-list/_material-definition.scss +0 -112
- package/styles/drop-down-list/_material3-dark-definition.scss +0 -1
- package/styles/drop-down-list/_material3-definition.scss +0 -114
- package/styles/drop-down-list/_tailwind-dark-definition.scss +0 -1
- package/styles/drop-down-list/_tailwind-definition.scss +0 -100
- package/styles/drop-down-list/_tailwind3-definition.scss +0 -135
- package/styles/drop-down-list/_theme.scss +0 -17
- package/styles/drop-down-list/bds.css +0 -622
- package/styles/drop-down-list/bds.scss +0 -10
- package/styles/drop-down-list/bootstrap-dark.css +0 -464
- package/styles/drop-down-list/bootstrap-dark.scss +0 -10
- package/styles/drop-down-list/bootstrap.css +0 -466
- package/styles/drop-down-list/bootstrap.scss +0 -10
- package/styles/drop-down-list/bootstrap4.css +0 -511
- package/styles/drop-down-list/bootstrap4.scss +0 -10
- package/styles/drop-down-list/bootstrap5-dark.css +0 -510
- package/styles/drop-down-list/bootstrap5-dark.scss +0 -10
- package/styles/drop-down-list/bootstrap5.3.css +0 -515
- package/styles/drop-down-list/bootstrap5.3.scss +0 -10
- package/styles/drop-down-list/bootstrap5.css +0 -510
- package/styles/drop-down-list/bootstrap5.scss +0 -10
- package/styles/drop-down-list/fabric-dark.css +0 -439
- package/styles/drop-down-list/fabric-dark.scss +0 -10
- package/styles/drop-down-list/fabric.css +0 -439
- package/styles/drop-down-list/fabric.scss +0 -10
- package/styles/drop-down-list/fluent-dark.css +0 -483
- package/styles/drop-down-list/fluent-dark.scss +0 -10
- package/styles/drop-down-list/fluent.css +0 -483
- package/styles/drop-down-list/fluent.scss +0 -10
- package/styles/drop-down-list/fluent2.css +0 -666
- package/styles/drop-down-list/fluent2.scss +0 -10
- package/styles/drop-down-list/highcontrast-light.css +0 -440
- package/styles/drop-down-list/highcontrast-light.scss +0 -10
- package/styles/drop-down-list/highcontrast.css +0 -455
- package/styles/drop-down-list/highcontrast.scss +0 -10
- package/styles/drop-down-list/icons/_bds.scss +0 -14
- package/styles/drop-down-list/icons/_bootstrap-dark.scss +0 -18
- package/styles/drop-down-list/icons/_bootstrap.scss +0 -18
- package/styles/drop-down-list/icons/_bootstrap4.scss +0 -18
- package/styles/drop-down-list/icons/_bootstrap5-dark.scss +0 -1
- package/styles/drop-down-list/icons/_bootstrap5.3.scss +0 -18
- package/styles/drop-down-list/icons/_bootstrap5.scss +0 -18
- package/styles/drop-down-list/icons/_fabric-dark.scss +0 -18
- package/styles/drop-down-list/icons/_fabric.scss +0 -18
- package/styles/drop-down-list/icons/_fluent-dark.scss +0 -1
- package/styles/drop-down-list/icons/_fluent.scss +0 -18
- package/styles/drop-down-list/icons/_fluent2.scss +0 -18
- package/styles/drop-down-list/icons/_fusionnew.scss +0 -14
- package/styles/drop-down-list/icons/_highcontrast-light.scss +0 -14
- package/styles/drop-down-list/icons/_highcontrast.scss +0 -18
- package/styles/drop-down-list/icons/_material-dark.scss +0 -18
- package/styles/drop-down-list/icons/_material.scss +0 -18
- package/styles/drop-down-list/icons/_material3-dark.scss +0 -1
- package/styles/drop-down-list/icons/_material3.scss +0 -18
- package/styles/drop-down-list/icons/_tailwind-dark.scss +0 -1
- package/styles/drop-down-list/icons/_tailwind.scss +0 -18
- package/styles/drop-down-list/icons/_tailwind3.scss +0 -14
- package/styles/drop-down-list/material-dark.css +0 -487
- package/styles/drop-down-list/material-dark.scss +0 -10
- package/styles/drop-down-list/material.css +0 -526
- package/styles/drop-down-list/material.scss +0 -10
- package/styles/drop-down-list/material3-dark.css +0 -545
- package/styles/drop-down-list/material3-dark.scss +0 -11
- package/styles/drop-down-list/material3.css +0 -547
- package/styles/drop-down-list/material3.scss +0 -11
- package/styles/drop-down-list/tailwind-dark.css +0 -472
- package/styles/drop-down-list/tailwind-dark.scss +0 -10
- package/styles/drop-down-list/tailwind.css +0 -472
- package/styles/drop-down-list/tailwind.scss +0 -10
- package/styles/drop-down-list/tailwind3.css +0 -469
- package/styles/drop-down-list/tailwind3.scss +0 -10
- package/styles/drop-down-tree/_all.scss +0 -2
- package/styles/drop-down-tree/_bds-definition.scss +0 -75
- package/styles/drop-down-tree/_bigger.scss +0 -561
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +0 -82
- package/styles/drop-down-tree/_bootstrap-definition.scss +0 -81
- package/styles/drop-down-tree/_bootstrap4-definition.scss +0 -85
- package/styles/drop-down-tree/_bootstrap5-dark-definition.scss +0 -1
- package/styles/drop-down-tree/_bootstrap5-definition.scss +0 -74
- package/styles/drop-down-tree/_bootstrap5.3-definition.scss +0 -74
- package/styles/drop-down-tree/_fabric-dark-definition.scss +0 -82
- package/styles/drop-down-tree/_fabric-definition.scss +0 -82
- package/styles/drop-down-tree/_fluent-dark-definition.scss +0 -1
- package/styles/drop-down-tree/_fluent-definition.scss +0 -79
- package/styles/drop-down-tree/_fluent2-definition.scss +0 -86
- package/styles/drop-down-tree/_fusionnew-definition.scss +0 -70
- package/styles/drop-down-tree/_highcontrast-definition.scss +0 -82
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +0 -82
- package/styles/drop-down-tree/_layout.scss +0 -942
- package/styles/drop-down-tree/_material-dark-definition.scss +0 -83
- package/styles/drop-down-tree/_material-definition.scss +0 -85
- package/styles/drop-down-tree/_material3-dark-definition.scss +0 -1
- package/styles/drop-down-tree/_material3-definition.scss +0 -84
- package/styles/drop-down-tree/_tailwind-dark-definition.scss +0 -1
- package/styles/drop-down-tree/_tailwind-definition.scss +0 -75
- package/styles/drop-down-tree/_tailwind3-definition.scss +0 -75
- package/styles/drop-down-tree/_theme.scss +0 -135
- package/styles/drop-down-tree/bds.css +0 -730
- package/styles/drop-down-tree/bds.scss +0 -10
- package/styles/drop-down-tree/bootstrap-dark.css +0 -485
- package/styles/drop-down-tree/bootstrap-dark.scss +0 -10
- package/styles/drop-down-tree/bootstrap.css +0 -486
- package/styles/drop-down-tree/bootstrap.scss +0 -10
- package/styles/drop-down-tree/bootstrap4.css +0 -515
- package/styles/drop-down-tree/bootstrap4.scss +0 -10
- package/styles/drop-down-tree/bootstrap5-dark.css +0 -547
- package/styles/drop-down-tree/bootstrap5-dark.scss +0 -10
- package/styles/drop-down-tree/bootstrap5.3.css +0 -482
- package/styles/drop-down-tree/bootstrap5.3.scss +0 -10
- package/styles/drop-down-tree/bootstrap5.css +0 -547
- package/styles/drop-down-tree/bootstrap5.scss +0 -10
- package/styles/drop-down-tree/fabric-dark.css +0 -487
- package/styles/drop-down-tree/fabric-dark.scss +0 -10
- package/styles/drop-down-tree/fabric.css +0 -488
- package/styles/drop-down-tree/fabric.scss +0 -10
- package/styles/drop-down-tree/fluent-dark.css +0 -549
- package/styles/drop-down-tree/fluent-dark.scss +0 -10
- package/styles/drop-down-tree/fluent.css +0 -549
- package/styles/drop-down-tree/fluent.scss +0 -10
- package/styles/drop-down-tree/fluent2.css +0 -721
- package/styles/drop-down-tree/fluent2.scss +0 -10
- package/styles/drop-down-tree/highcontrast-light.css +0 -500
- package/styles/drop-down-tree/highcontrast-light.scss +0 -10
- package/styles/drop-down-tree/highcontrast.css +0 -510
- package/styles/drop-down-tree/highcontrast.scss +0 -10
- package/styles/drop-down-tree/icons/_bds.scss +0 -11
- package/styles/drop-down-tree/icons/_bootstrap-dark.scss +0 -11
- package/styles/drop-down-tree/icons/_bootstrap.scss +0 -11
- package/styles/drop-down-tree/icons/_bootstrap4.scss +0 -11
- package/styles/drop-down-tree/icons/_bootstrap5-dark.scss +0 -1
- package/styles/drop-down-tree/icons/_bootstrap5.3.scss +0 -11
- package/styles/drop-down-tree/icons/_bootstrap5.scss +0 -11
- package/styles/drop-down-tree/icons/_fabric-dark.scss +0 -11
- package/styles/drop-down-tree/icons/_fabric.scss +0 -11
- package/styles/drop-down-tree/icons/_fluent-dark.scss +0 -1
- package/styles/drop-down-tree/icons/_fluent.scss +0 -11
- package/styles/drop-down-tree/icons/_fluent2.scss +0 -14
- package/styles/drop-down-tree/icons/_fusionnew.scss +0 -11
- package/styles/drop-down-tree/icons/_highcontrast-light.scss +0 -11
- package/styles/drop-down-tree/icons/_highcontrast.scss +0 -11
- package/styles/drop-down-tree/icons/_material-dark.scss +0 -11
- package/styles/drop-down-tree/icons/_material.scss +0 -11
- package/styles/drop-down-tree/icons/_material3-dark.scss +0 -1
- package/styles/drop-down-tree/icons/_material3.scss +0 -11
- package/styles/drop-down-tree/icons/_tailwind-dark.scss +0 -11
- package/styles/drop-down-tree/icons/_tailwind.scss +0 -11
- package/styles/drop-down-tree/icons/_tailwind3.scss +0 -11
- package/styles/drop-down-tree/material-dark.css +0 -812
- package/styles/drop-down-tree/material-dark.scss +0 -10
- package/styles/drop-down-tree/material.css +0 -836
- package/styles/drop-down-tree/material.scss +0 -10
- package/styles/drop-down-tree/material3-dark.css +0 -494
- package/styles/drop-down-tree/material3-dark.scss +0 -11
- package/styles/drop-down-tree/material3.css +0 -496
- package/styles/drop-down-tree/material3.scss +0 -11
- package/styles/drop-down-tree/tailwind-dark.css +0 -576
- package/styles/drop-down-tree/tailwind-dark.scss +0 -10
- package/styles/drop-down-tree/tailwind.css +0 -576
- package/styles/drop-down-tree/tailwind.scss +0 -10
- package/styles/drop-down-tree/tailwind3.css +0 -536
- package/styles/drop-down-tree/tailwind3.scss +0 -10
- package/styles/list-box/_all.scss +0 -2
- package/styles/list-box/_bds-definition.scss +0 -136
- package/styles/list-box/_bigger.scss +0 -190
- package/styles/list-box/_bootstrap-dark-definition.scss +0 -126
- package/styles/list-box/_bootstrap-definition.scss +0 -119
- package/styles/list-box/_bootstrap4-definition.scss +0 -126
- package/styles/list-box/_bootstrap5-dark-definition.scss +0 -1
- package/styles/list-box/_bootstrap5-definition.scss +0 -121
- package/styles/list-box/_bootstrap5.3-definition.scss +0 -123
- package/styles/list-box/_fabric-dark-definition.scss +0 -124
- package/styles/list-box/_fabric-definition.scss +0 -119
- package/styles/list-box/_fluent-dark-definition.scss +0 -1
- package/styles/list-box/_fluent-definition.scss +0 -120
- package/styles/list-box/_fluent2-definition.scss +0 -121
- package/styles/list-box/_fusionnew-definition.scss +0 -111
- package/styles/list-box/_highcontrast-definition.scss +0 -119
- package/styles/list-box/_highcontrast-light-definition.scss +0 -124
- package/styles/list-box/_layout.scss +0 -496
- package/styles/list-box/_material-dark-definition.scss +0 -124
- package/styles/list-box/_material-definition.scss +0 -119
- package/styles/list-box/_material3-dark-definition.scss +0 -1
- package/styles/list-box/_material3-definition.scss +0 -119
- package/styles/list-box/_tailwind-dark-definition.scss +0 -1
- package/styles/list-box/_tailwind-definition.scss +0 -119
- package/styles/list-box/_tailwind3-definition.scss +0 -123
- package/styles/list-box/_theme.scss +0 -327
- package/styles/list-box/bds.css +0 -971
- package/styles/list-box/bds.scss +0 -6
- package/styles/list-box/bootstrap-dark.css +0 -916
- package/styles/list-box/bootstrap-dark.scss +0 -6
- package/styles/list-box/bootstrap.css +0 -927
- package/styles/list-box/bootstrap.scss +0 -6
- package/styles/list-box/bootstrap4.css +0 -977
- package/styles/list-box/bootstrap4.scss +0 -6
- package/styles/list-box/bootstrap5-dark.css +0 -939
- package/styles/list-box/bootstrap5-dark.scss +0 -6
- package/styles/list-box/bootstrap5.3.css +0 -956
- package/styles/list-box/bootstrap5.3.scss +0 -6
- package/styles/list-box/bootstrap5.css +0 -939
- package/styles/list-box/bootstrap5.scss +0 -6
- package/styles/list-box/fabric-dark.css +0 -916
- package/styles/list-box/fabric-dark.scss +0 -6
- package/styles/list-box/fabric.css +0 -927
- package/styles/list-box/fabric.scss +0 -6
- package/styles/list-box/fluent-dark.css +0 -939
- package/styles/list-box/fluent-dark.scss +0 -6
- package/styles/list-box/fluent.css +0 -939
- package/styles/list-box/fluent.scss +0 -6
- package/styles/list-box/fluent2.css +0 -979
- package/styles/list-box/fluent2.scss +0 -6
- package/styles/list-box/highcontrast-light.css +0 -928
- package/styles/list-box/highcontrast-light.scss +0 -6
- package/styles/list-box/highcontrast.css +0 -939
- package/styles/list-box/highcontrast.scss +0 -6
- package/styles/list-box/icons/_bds.scss +0 -25
- package/styles/list-box/icons/_bootstrap-dark.scss +0 -25
- package/styles/list-box/icons/_bootstrap.scss +0 -25
- package/styles/list-box/icons/_bootstrap4.scss +0 -25
- package/styles/list-box/icons/_bootstrap5-dark.scss +0 -1
- package/styles/list-box/icons/_bootstrap5.3.scss +0 -25
- package/styles/list-box/icons/_bootstrap5.scss +0 -25
- package/styles/list-box/icons/_fabric-dark.scss +0 -25
- package/styles/list-box/icons/_fabric.scss +0 -25
- package/styles/list-box/icons/_fluent-dark.scss +0 -1
- package/styles/list-box/icons/_fluent.scss +0 -25
- package/styles/list-box/icons/_fluent2.scss +0 -25
- package/styles/list-box/icons/_fusionnew.scss +0 -25
- package/styles/list-box/icons/_highcontrast-light.scss +0 -25
- package/styles/list-box/icons/_highcontrast.scss +0 -25
- package/styles/list-box/icons/_material-dark.scss +0 -25
- package/styles/list-box/icons/_material.scss +0 -25
- package/styles/list-box/icons/_material3-dark.scss +0 -1
- package/styles/list-box/icons/_material3.scss +0 -25
- package/styles/list-box/icons/_tailwind-dark.scss +0 -25
- package/styles/list-box/icons/_tailwind.scss +0 -25
- package/styles/list-box/icons/_tailwind3.scss +0 -25
- package/styles/list-box/material-dark.css +0 -916
- package/styles/list-box/material-dark.scss +0 -6
- package/styles/list-box/material.css +0 -927
- package/styles/list-box/material.scss +0 -6
- package/styles/list-box/material3-dark.css +0 -919
- package/styles/list-box/material3-dark.scss +0 -7
- package/styles/list-box/material3.css +0 -921
- package/styles/list-box/material3.scss +0 -7
- package/styles/list-box/tailwind-dark.css +0 -945
- package/styles/list-box/tailwind-dark.scss +0 -6
- package/styles/list-box/tailwind.css +0 -945
- package/styles/list-box/tailwind.scss +0 -6
- package/styles/list-box/tailwind3.css +0 -995
- package/styles/list-box/tailwind3.scss +0 -6
- package/styles/mention/_all.scss +0 -1
- package/styles/mention/_bds-definition.scss +0 -1
- package/styles/mention/_bootstrap-dark-definition.scss +0 -3
- package/styles/mention/_bootstrap-definition.scss +0 -3
- package/styles/mention/_bootstrap4-definition.scss +0 -3
- package/styles/mention/_bootstrap5-dark-definition.scss +0 -1
- package/styles/mention/_bootstrap5-definition.scss +0 -1
- package/styles/mention/_bootstrap5.3-definition.scss +0 -1
- package/styles/mention/_fabric-dark-definition.scss +0 -2
- package/styles/mention/_fabric-definition.scss +0 -3
- package/styles/mention/_fluent-dark-definition.scss +0 -1
- package/styles/mention/_fluent-definition.scss +0 -1
- package/styles/mention/_fluent2-definition.scss +0 -1
- package/styles/mention/_fusionnew-definition.scss +0 -1
- package/styles/mention/_highcontrast-definition.scss +0 -3
- package/styles/mention/_highcontrast-light-definition.scss +0 -3
- package/styles/mention/_layout.scss +0 -6
- package/styles/mention/_material-dark-definition.scss +0 -3
- package/styles/mention/_material-definition.scss +0 -3
- package/styles/mention/_material3-dark-definition.scss +0 -1
- package/styles/mention/_material3-definition.scss +0 -1
- package/styles/mention/_tailwind-dark-definition.scss +0 -1
- package/styles/mention/_tailwind-definition.scss +0 -1
- package/styles/mention/_tailwind3-definition.scss +0 -1
- package/styles/mention/bds.css +0 -78
- package/styles/mention/bds.scss +0 -6
- package/styles/mention/bootstrap-dark.css +0 -48
- package/styles/mention/bootstrap-dark.scss +0 -6
- package/styles/mention/bootstrap.css +0 -48
- package/styles/mention/bootstrap.scss +0 -6
- package/styles/mention/bootstrap4.css +0 -54
- package/styles/mention/bootstrap4.scss +0 -6
- package/styles/mention/bootstrap5-dark.css +0 -63
- package/styles/mention/bootstrap5-dark.scss +0 -6
- package/styles/mention/bootstrap5.3.css +0 -67
- package/styles/mention/bootstrap5.3.scss +0 -6
- package/styles/mention/bootstrap5.css +0 -63
- package/styles/mention/bootstrap5.scss +0 -6
- package/styles/mention/fabric-dark.css +0 -48
- package/styles/mention/fabric-dark.scss +0 -6
- package/styles/mention/fabric.css +0 -48
- package/styles/mention/fabric.scss +0 -6
- package/styles/mention/fluent-dark.css +0 -63
- package/styles/mention/fluent-dark.scss +0 -6
- package/styles/mention/fluent.css +0 -63
- package/styles/mention/fluent.scss +0 -6
- package/styles/mention/fluent2.css +0 -80
- package/styles/mention/fluent2.scss +0 -6
- package/styles/mention/highcontrast-light.css +0 -60
- package/styles/mention/highcontrast-light.scss +0 -6
- package/styles/mention/highcontrast.css +0 -60
- package/styles/mention/highcontrast.scss +0 -6
- package/styles/mention/material-dark.css +0 -48
- package/styles/mention/material-dark.scss +0 -6
- package/styles/mention/material.css +0 -48
- package/styles/mention/material.scss +0 -6
- package/styles/mention/material3-dark.css +0 -53
- package/styles/mention/material3-dark.scss +0 -7
- package/styles/mention/material3.css +0 -55
- package/styles/mention/material3.scss +0 -7
- package/styles/mention/tailwind-dark.css +0 -69
- package/styles/mention/tailwind-dark.scss +0 -6
- package/styles/mention/tailwind.css +0 -69
- package/styles/mention/tailwind.scss +0 -6
- package/styles/mention/tailwind3.css +0 -67
- package/styles/mention/tailwind3.scss +0 -6
- package/styles/multi-select/_all.scss +0 -2
- package/styles/multi-select/_bds-definition.scss +0 -230
- package/styles/multi-select/_bigger.scss +0 -2002
- package/styles/multi-select/_bootstrap-dark-definition.scss +0 -198
- package/styles/multi-select/_bootstrap-definition.scss +0 -187
- package/styles/multi-select/_bootstrap4-definition.scss +0 -236
- package/styles/multi-select/_bootstrap5-dark-definition.scss +0 -1
- package/styles/multi-select/_bootstrap5-definition.scss +0 -229
- package/styles/multi-select/_bootstrap5.3-definition.scss +0 -229
- package/styles/multi-select/_fabric-dark-definition.scss +0 -190
- package/styles/multi-select/_fabric-definition.scss +0 -181
- package/styles/multi-select/_fluent-dark-definition.scss +0 -1
- package/styles/multi-select/_fluent-definition.scss +0 -236
- package/styles/multi-select/_fluent2-definition.scss +0 -234
- package/styles/multi-select/_fusionnew-definition.scss +0 -222
- package/styles/multi-select/_highcontrast-definition.scss +0 -302
- package/styles/multi-select/_highcontrast-light-definition.scss +0 -296
- package/styles/multi-select/_layout.scss +0 -1330
- package/styles/multi-select/_material-dark-definition.scss +0 -248
- package/styles/multi-select/_material-definition.scss +0 -250
- package/styles/multi-select/_material3-dark-definition.scss +0 -1
- package/styles/multi-select/_material3-definition.scss +0 -233
- package/styles/multi-select/_tailwind-dark-definition.scss +0 -1
- package/styles/multi-select/_tailwind-definition.scss +0 -230
- package/styles/multi-select/_tailwind3-definition.scss +0 -227
- package/styles/multi-select/_theme.scss +0 -564
- package/styles/multi-select/bds.css +0 -1579
- package/styles/multi-select/bds.scss +0 -10
- package/styles/multi-select/bootstrap-dark.css +0 -1386
- package/styles/multi-select/bootstrap-dark.scss +0 -10
- package/styles/multi-select/bootstrap.css +0 -1374
- package/styles/multi-select/bootstrap.scss +0 -10
- package/styles/multi-select/bootstrap4.css +0 -1522
- package/styles/multi-select/bootstrap4.scss +0 -10
- package/styles/multi-select/bootstrap5-dark.css +0 -1446
- package/styles/multi-select/bootstrap5-dark.scss +0 -10
- package/styles/multi-select/bootstrap5.3.css +0 -1450
- package/styles/multi-select/bootstrap5.3.scss +0 -10
- package/styles/multi-select/bootstrap5.css +0 -1446
- package/styles/multi-select/bootstrap5.scss +0 -10
- package/styles/multi-select/fabric-dark.css +0 -1389
- package/styles/multi-select/fabric-dark.scss +0 -10
- package/styles/multi-select/fabric.css +0 -1379
- package/styles/multi-select/fabric.scss +0 -10
- package/styles/multi-select/fluent-dark.css +0 -1490
- package/styles/multi-select/fluent-dark.scss +0 -10
- package/styles/multi-select/fluent.css +0 -1490
- package/styles/multi-select/fluent.scss +0 -10
- package/styles/multi-select/fluent2.css +0 -1706
- package/styles/multi-select/fluent2.scss +0 -10
- package/styles/multi-select/highcontrast-light.css +0 -1490
- package/styles/multi-select/highcontrast-light.scss +0 -10
- package/styles/multi-select/highcontrast.css +0 -1506
- package/styles/multi-select/highcontrast.scss +0 -10
- package/styles/multi-select/icons/_bds.scss +0 -26
- package/styles/multi-select/icons/_bootstrap-dark.scss +0 -30
- package/styles/multi-select/icons/_bootstrap.scss +0 -30
- package/styles/multi-select/icons/_bootstrap4.scss +0 -32
- package/styles/multi-select/icons/_bootstrap5-dark.scss +0 -1
- package/styles/multi-select/icons/_bootstrap5.3.scss +0 -30
- package/styles/multi-select/icons/_bootstrap5.scss +0 -30
- package/styles/multi-select/icons/_fabric-dark.scss +0 -30
- package/styles/multi-select/icons/_fabric.scss +0 -30
- package/styles/multi-select/icons/_fluent-dark.scss +0 -1
- package/styles/multi-select/icons/_fluent.scss +0 -38
- package/styles/multi-select/icons/_fluent2.scss +0 -347
- package/styles/multi-select/icons/_fusionnew.scss +0 -26
- package/styles/multi-select/icons/_highcontrast-light.scss +0 -26
- package/styles/multi-select/icons/_highcontrast.scss +0 -30
- package/styles/multi-select/icons/_material-dark.scss +0 -348
- package/styles/multi-select/icons/_material.scss +0 -348
- package/styles/multi-select/icons/_material3-dark.scss +0 -1
- package/styles/multi-select/icons/_material3.scss +0 -350
- package/styles/multi-select/icons/_tailwind-dark.scss +0 -1
- package/styles/multi-select/icons/_tailwind.scss +0 -30
- package/styles/multi-select/icons/_tailwind3.scss +0 -26
- package/styles/multi-select/material-dark.css +0 -2605
- package/styles/multi-select/material-dark.scss +0 -10
- package/styles/multi-select/material.css +0 -2629
- package/styles/multi-select/material.scss +0 -10
- package/styles/multi-select/material3-dark.css +0 -2947
- package/styles/multi-select/material3-dark.scss +0 -11
- package/styles/multi-select/material3.css +0 -2949
- package/styles/multi-select/material3.scss +0 -11
- package/styles/multi-select/tailwind-dark.css +0 -1429
- package/styles/multi-select/tailwind-dark.scss +0 -10
- package/styles/multi-select/tailwind.css +0 -1429
- package/styles/multi-select/tailwind.scss +0 -10
- package/styles/multi-select/tailwind3.css +0 -1402
- package/styles/multi-select/tailwind3.scss +0 -10
- package/tslint.json +0 -111
|
@@ -255,14 +255,14 @@ function revertHighlightSearch(content) {
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
259
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
260
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
261
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
262
|
-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
263
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
264
|
-
});
|
|
265
|
-
};
|
|
258
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
259
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
260
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
261
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
262
|
+
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
263
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
264
|
+
});
|
|
265
|
+
};
|
|
266
266
|
class VirtualScroll {
|
|
267
267
|
constructor(parent) {
|
|
268
268
|
this.sentinelInfo = {
|
|
@@ -497,6 +497,7 @@ class VirtualScroll {
|
|
|
497
497
|
query = query.skip(this.parent.viewPortInfo.startIndex);
|
|
498
498
|
}
|
|
499
499
|
this.parent.setCurrentView = false;
|
|
500
|
+
this.parent.isPreventScrollAction = true;
|
|
500
501
|
this.parent.resetList(this.parent.dataSource, this.parent.fields, query);
|
|
501
502
|
isResetListCalled = true;
|
|
502
503
|
break;
|
|
@@ -544,6 +545,7 @@ class VirtualScroll {
|
|
|
544
545
|
}
|
|
545
546
|
}
|
|
546
547
|
this.parent.renderItems(currentData, this.parent.fields, this.component === 'multiselect' && this.parent.mode === 'CheckBox');
|
|
548
|
+
this.parent.updateSelectionList();
|
|
547
549
|
}
|
|
548
550
|
if (this.component === 'multiselect') {
|
|
549
551
|
this.parent.updatevirtualizationList();
|
|
@@ -555,7 +557,8 @@ class VirtualScroll {
|
|
|
555
557
|
(this.parent.totalItemCount <= this.parent.itemCount))) ? 0 : this.parent.skeletonCount;
|
|
556
558
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
557
559
|
const virtualTrackElement = this.parent.list.getElementsByClassName('e-virtual-ddl')[0];
|
|
558
|
-
|
|
560
|
+
const preventAction = this.component !== 'multiselect' || (this.component === 'multiselect' && ((!(this.parent.dataSource instanceof DataManager))) || (this.parent.dataSource instanceof DataManager && !isResetListCalled));
|
|
561
|
+
if (virtualTrackElement && preventAction) {
|
|
559
562
|
virtualTrackElement.style = this.parent.GetVirtualTrackHeight();
|
|
560
563
|
}
|
|
561
564
|
else if (!virtualTrackElement && this.parent.skeletonCount > 0 && this.parent.popupWrapper) {
|
|
@@ -564,11 +567,13 @@ class VirtualScroll {
|
|
|
564
567
|
});
|
|
565
568
|
this.parent.popupWrapper.querySelector('.e-dropdownbase').appendChild(virualElement);
|
|
566
569
|
}
|
|
567
|
-
this.parent.
|
|
570
|
+
if (this.component !== 'multiselect' || (this.component === 'multiselect' && ((!(this.parent.dataSource instanceof DataManager))) || (this.parent.dataSource instanceof DataManager && (!isResetListCalled || this.parent.viewPortInfo.startIndex === 0)))) {
|
|
571
|
+
this.parent.UpdateSkeleton();
|
|
572
|
+
}
|
|
568
573
|
this.parent.liCollections = this.parent.list.querySelectorAll('.e-list-item');
|
|
569
574
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
570
575
|
const virtualContentElement = this.parent.list.getElementsByClassName('e-virtual-ddl-content')[0];
|
|
571
|
-
if (virtualContentElement) {
|
|
576
|
+
if (virtualContentElement && preventAction) {
|
|
572
577
|
(virtualContentElement).style = this.parent.getTransformValues();
|
|
573
578
|
}
|
|
574
579
|
if (this.parent.fields.groupBy) {
|
|
@@ -798,12 +803,12 @@ class VirtualScroll {
|
|
|
798
803
|
}
|
|
799
804
|
}
|
|
800
805
|
|
|
801
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
802
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
803
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
804
|
-
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;
|
|
805
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
806
|
-
};
|
|
806
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
807
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
808
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
809
|
+
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;
|
|
810
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
811
|
+
};
|
|
807
812
|
class FieldSettings extends ChildProperty {
|
|
808
813
|
}
|
|
809
814
|
__decorate([
|
|
@@ -911,6 +916,7 @@ let DropDownBase = class DropDownBase extends Component {
|
|
|
911
916
|
this.isDynamicData = false;
|
|
912
917
|
this.isPrimitiveData = false;
|
|
913
918
|
this.isCustomFiltering = false;
|
|
919
|
+
this.debounceTimer = null;
|
|
914
920
|
this.virtualListInfo = {
|
|
915
921
|
currentPageNumber: null,
|
|
916
922
|
direction: null,
|
|
@@ -1269,6 +1275,29 @@ let DropDownBase = class DropDownBase extends Component {
|
|
|
1269
1275
|
isContainSkeleton.firstChild.insertBefore(liElement, isContainSkeleton.firstChild.children[0]);
|
|
1270
1276
|
}
|
|
1271
1277
|
}
|
|
1278
|
+
if (this.getModuleName() === 'multiselect') {
|
|
1279
|
+
for (let i = 0; i < totalSkeletonCount && this.totalItemCount !== this.viewPortInfo.endIndex; i++) {
|
|
1280
|
+
const liElement = this.createElement('li', { className: `${dropDownBaseClasses.virtualList} e-virtual-list-end`, styles: 'overflow: inherit' });
|
|
1281
|
+
if (this.isVirtualizationEnabled && this.itemTemplate) {
|
|
1282
|
+
liElement.style.height = (this.listItemHeight - parseInt(window.getComputedStyle(this.getItems()[1]).marginBottom, 10)) + 'px';
|
|
1283
|
+
}
|
|
1284
|
+
const skeleton = new Skeleton({
|
|
1285
|
+
shape: 'Text',
|
|
1286
|
+
height: '10px',
|
|
1287
|
+
width: '95%',
|
|
1288
|
+
cssClass: 'e-skeleton-text-end'
|
|
1289
|
+
});
|
|
1290
|
+
skeleton.appendTo(this.createElement('div'));
|
|
1291
|
+
liElement.appendChild(skeleton.element);
|
|
1292
|
+
if (isContainSkeleton.firstChild) {
|
|
1293
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1294
|
+
isContainSkeleton.firstChild.appendChild(liElement);
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
if (this.totalItemCount === this.viewPortInfo.endIndex) {
|
|
1298
|
+
isContainSkeleton.querySelectorAll('.e-virtual-list-end').forEach((el) => el.remove());
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1272
1301
|
}
|
|
1273
1302
|
}
|
|
1274
1303
|
getLocaleName() {
|
|
@@ -1546,7 +1575,9 @@ let DropDownBase = class DropDownBase extends Component {
|
|
|
1546
1575
|
this.preventPopupOpen = false;
|
|
1547
1576
|
return;
|
|
1548
1577
|
}
|
|
1578
|
+
let isSetCurrentcall = false;
|
|
1549
1579
|
if (this.isVirtualizationEnabled && this.setCurrentView) {
|
|
1580
|
+
isSetCurrentcall = true;
|
|
1550
1581
|
this.notify('setCurrentViewDataAsync', {
|
|
1551
1582
|
module: 'VirtualScroll'
|
|
1552
1583
|
});
|
|
@@ -1554,7 +1585,8 @@ let DropDownBase = class DropDownBase extends Component {
|
|
|
1554
1585
|
if (this.keyboardEvent != null) {
|
|
1555
1586
|
this.handleVirtualKeyboardActions(this.keyboardEvent, this.pageCount);
|
|
1556
1587
|
}
|
|
1557
|
-
|
|
1588
|
+
const preventSkeleton = this.getModuleName() !== 'multiselect' || (this.getModuleName() === 'multiselect' && (!(this.dataSource instanceof DataManager) || (this.dataSource instanceof DataManager && !isSetCurrentcall)));
|
|
1589
|
+
if (this.isVirtualizationEnabled && preventSkeleton) {
|
|
1558
1590
|
this.getFilteringSkeletonCount();
|
|
1559
1591
|
this.updatePopupPosition();
|
|
1560
1592
|
}
|
|
@@ -1798,10 +1830,12 @@ let DropDownBase = class DropDownBase extends Component {
|
|
|
1798
1830
|
postRender(listElement, list, bindEvent) {
|
|
1799
1831
|
if (this.fields.disabled) {
|
|
1800
1832
|
const liCollections = listElement.querySelectorAll('.' + dropDownBaseClasses.li);
|
|
1833
|
+
const data = this.sortOrder !== 'None' ? !isNullOrUndefined(this.fields.groupBy) ?
|
|
1834
|
+
this.sortedData.filter((item) => !('isHeader' in item) || item.isHeader !== true) : this.sortedData : this.listData;
|
|
1801
1835
|
for (let index = 0; index < liCollections.length; index++) {
|
|
1802
|
-
if (JSON.parse(JSON.stringify(
|
|
1836
|
+
if (JSON.parse(JSON.stringify(data[index]))[this.fields.disabled]) {
|
|
1803
1837
|
if (!isNullOrUndefined(this.fields.groupBy)) {
|
|
1804
|
-
const item =
|
|
1838
|
+
const item = data[index];
|
|
1805
1839
|
const value = getValue((this.fields.value ? this.fields.value : 'value'), item);
|
|
1806
1840
|
const li = listElement.querySelector('li[data-value="' + value + '"]');
|
|
1807
1841
|
if (!isNullOrUndefined(li)) {
|
|
@@ -1843,6 +1877,17 @@ let DropDownBase = class DropDownBase extends Component {
|
|
|
1843
1877
|
getQuery(query) {
|
|
1844
1878
|
return query ? query : this.query ? this.query : new Query();
|
|
1845
1879
|
}
|
|
1880
|
+
performFiltering(e) {
|
|
1881
|
+
// this is for component wise
|
|
1882
|
+
}
|
|
1883
|
+
debouncedFiltering(e, debounceDelay) {
|
|
1884
|
+
if (this.debounceTimer !== null) {
|
|
1885
|
+
clearTimeout(this.debounceTimer);
|
|
1886
|
+
}
|
|
1887
|
+
this.debounceTimer = setTimeout(() => {
|
|
1888
|
+
this.performFiltering(e);
|
|
1889
|
+
}, debounceDelay);
|
|
1890
|
+
}
|
|
1846
1891
|
updateVirtualizationProperties(itemCount, filtering, isCheckbox) {
|
|
1847
1892
|
this.isVirtualizationEnabled = true;
|
|
1848
1893
|
this.virtualizedItemsCount = itemCount;
|
|
@@ -2016,9 +2061,10 @@ let DropDownBase = class DropDownBase extends Component {
|
|
|
2016
2061
|
* @param {object[]} listData - Specifies the list of array of data.
|
|
2017
2062
|
* @param {FieldSettingsModel} fields - Maps the columns of the data table and binds the data to the component.
|
|
2018
2063
|
* @param {boolean} isCheckBoxUpdate - Specifies whether the list item is updated with checkbox.
|
|
2064
|
+
* @param {boolean} isClearAll - Specifies whether the current action is clearAll.
|
|
2019
2065
|
* @returns {HTMLElement} Return the list items.
|
|
2020
2066
|
*/
|
|
2021
|
-
renderItems(listData, fields, isCheckBoxUpdate) {
|
|
2067
|
+
renderItems(listData, fields, isCheckBoxUpdate, isClearAll) {
|
|
2022
2068
|
let ulElement;
|
|
2023
2069
|
if (this.itemTemplate && listData) {
|
|
2024
2070
|
if (this.getModuleName() === 'multiselect' && this.virtualSelectAll) {
|
|
@@ -2072,7 +2118,7 @@ let DropDownBase = class DropDownBase extends Component {
|
|
|
2072
2118
|
}
|
|
2073
2119
|
}
|
|
2074
2120
|
else {
|
|
2075
|
-
if (this.getModuleName() === 'multiselect' && this.virtualSelectAll) {
|
|
2121
|
+
if (this.getModuleName() === 'multiselect' && (this.virtualSelectAll && !isClearAll)) {
|
|
2076
2122
|
this.virtualSelectAllData = listData;
|
|
2077
2123
|
listData = listData.slice(this.virtualItemStartIndex, this.virtualItemEndIndex);
|
|
2078
2124
|
}
|
|
@@ -2091,11 +2137,13 @@ let DropDownBase = class DropDownBase extends Component {
|
|
|
2091
2137
|
oldUlElement = this.list.querySelector('.e-list-parent' + '.e-reorder');
|
|
2092
2138
|
}
|
|
2093
2139
|
if ((listData.length >= this.virtualizedItemsCount && oldUlElement && virtualUlElement) || (oldUlElement && virtualUlElement && this.isAllowFiltering) || (oldUlElement && virtualUlElement && (this.getModuleName() === 'autocomplete' || this.getModuleName() === 'multiselect')) || isRemovedUlelement) {
|
|
2094
|
-
if (!this.
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2140
|
+
if (this.getModuleName() !== 'multiselect' || (this.getModuleName() === 'multiselect' && (!(this.dataSource instanceof DataManager) || (this.dataSource instanceof DataManager && !this.setCurrentView)))) {
|
|
2141
|
+
if (!this.appendUncheckList) {
|
|
2142
|
+
virtualUlElement.replaceChild(ulElement, oldUlElement);
|
|
2143
|
+
}
|
|
2144
|
+
else {
|
|
2145
|
+
virtualUlElement.appendChild(ulElement);
|
|
2146
|
+
}
|
|
2099
2147
|
}
|
|
2100
2148
|
this.updateListElements(listData);
|
|
2101
2149
|
}
|
|
@@ -2805,12 +2853,12 @@ DropDownBase = __decorate([
|
|
|
2805
2853
|
NotifyPropertyChanges
|
|
2806
2854
|
], DropDownBase);
|
|
2807
2855
|
|
|
2808
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2809
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2810
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2811
|
-
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;
|
|
2812
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2813
|
-
};
|
|
2856
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2857
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2858
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2859
|
+
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;
|
|
2860
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2861
|
+
};
|
|
2814
2862
|
// don't use space in classnames
|
|
2815
2863
|
const dropDownListClasses = {
|
|
2816
2864
|
root: 'e-dropdownlist',
|
|
@@ -4240,7 +4288,8 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
4240
4288
|
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
4241
4289
|
const proxy = this;
|
|
4242
4290
|
// eslint-disable-next-line max-len
|
|
4243
|
-
const duration = (this.
|
|
4291
|
+
const duration = ((this.dataSource instanceof DataManager) && this.groupTemplate) ? 700 :
|
|
4292
|
+
(this.element.tagName === this.getNgDirective() && this.itemTemplate) ? 500 : 100;
|
|
4244
4293
|
if (!this.isSecondClick) {
|
|
4245
4294
|
setTimeout(() => {
|
|
4246
4295
|
proxy.cloneElements();
|
|
@@ -4838,6 +4887,29 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
4838
4887
|
const input = this.inputElement;
|
|
4839
4888
|
return { start: Math.abs(input.selectionStart), end: Math.abs(input.selectionEnd) };
|
|
4840
4889
|
}
|
|
4890
|
+
performFiltering(e) {
|
|
4891
|
+
this.checkAndResetCache();
|
|
4892
|
+
this.isRequesting = false;
|
|
4893
|
+
const eventArgs = {
|
|
4894
|
+
preventDefaultAction: false,
|
|
4895
|
+
text: this.filterInput.value,
|
|
4896
|
+
updateData: (dataSource, query, fields) => {
|
|
4897
|
+
if (eventArgs.cancel) {
|
|
4898
|
+
return;
|
|
4899
|
+
}
|
|
4900
|
+
this.isCustomFilter = true;
|
|
4901
|
+
this.customFilterQuery = query ? query.clone() : query;
|
|
4902
|
+
this.filteringAction(dataSource, query, fields);
|
|
4903
|
+
},
|
|
4904
|
+
baseEventArgs: e,
|
|
4905
|
+
cancel: false
|
|
4906
|
+
};
|
|
4907
|
+
this.trigger('filtering', eventArgs, (eventArgs) => {
|
|
4908
|
+
if (!eventArgs.cancel && !this.isCustomFilter && !eventArgs.preventDefaultAction) {
|
|
4909
|
+
this.filteringAction(this.dataSource, null, this.fields);
|
|
4910
|
+
}
|
|
4911
|
+
});
|
|
4912
|
+
}
|
|
4841
4913
|
searchLists(e) {
|
|
4842
4914
|
this.isTyped = true;
|
|
4843
4915
|
this.activeIndex = null;
|
|
@@ -4848,27 +4920,12 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
4848
4920
|
}
|
|
4849
4921
|
this.isDataFetched = false;
|
|
4850
4922
|
if (this.isFiltering()) {
|
|
4851
|
-
this.
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
if (eventArgs.cancel) {
|
|
4858
|
-
return;
|
|
4859
|
-
}
|
|
4860
|
-
this.isCustomFilter = true;
|
|
4861
|
-
this.customFilterQuery = query ? query.clone() : query;
|
|
4862
|
-
this.filteringAction(dataSource, query, fields);
|
|
4863
|
-
},
|
|
4864
|
-
baseEventArgs: e,
|
|
4865
|
-
cancel: false
|
|
4866
|
-
};
|
|
4867
|
-
this.trigger('filtering', eventArgs, (eventArgs) => {
|
|
4868
|
-
if (!eventArgs.cancel && !this.isCustomFilter && !eventArgs.preventDefaultAction) {
|
|
4869
|
-
this.filteringAction(this.dataSource, null, this.fields);
|
|
4870
|
-
}
|
|
4871
|
-
});
|
|
4923
|
+
if (this.typedString !== '' && this.debounceDelay > 0) {
|
|
4924
|
+
this.debouncedFiltering(e, this.debounceDelay);
|
|
4925
|
+
}
|
|
4926
|
+
else {
|
|
4927
|
+
this.performFiltering(e);
|
|
4928
|
+
}
|
|
4872
4929
|
}
|
|
4873
4930
|
}
|
|
4874
4931
|
/**
|
|
@@ -5132,7 +5189,19 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
5132
5189
|
this.dataSource.executeQuery(this.getQuery(this.query).where(new Predicate(checkField, 'equal', value)))
|
|
5133
5190
|
.then((e) => {
|
|
5134
5191
|
if (e.result.length > 0) {
|
|
5135
|
-
this.
|
|
5192
|
+
if (!this.enableVirtualization) {
|
|
5193
|
+
this.addItem(e.result, list.length);
|
|
5194
|
+
}
|
|
5195
|
+
else {
|
|
5196
|
+
this.itemData = e.result[0];
|
|
5197
|
+
const dataItem = this.getItemData();
|
|
5198
|
+
const value = this.allowObjectBinding ?
|
|
5199
|
+
this.getDataByValue(dataItem.value) : dataItem.value;
|
|
5200
|
+
if ((this.value === dataItem.value && this.text !== dataItem.text) ||
|
|
5201
|
+
(this.value !== dataItem.value && this.text === dataItem.text)) {
|
|
5202
|
+
this.setProperties({ 'text': dataItem.text ? dataItem.text.toString() : dataItem.text, 'value': value });
|
|
5203
|
+
}
|
|
5204
|
+
}
|
|
5136
5205
|
this.updateValues();
|
|
5137
5206
|
}
|
|
5138
5207
|
else {
|
|
@@ -7076,6 +7145,7 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
7076
7145
|
this.inputElement.classList.remove('e-input');
|
|
7077
7146
|
Input.setValue('', this.inputElement, this.floatLabelType, this.showClearButton);
|
|
7078
7147
|
}
|
|
7148
|
+
this.element.removeAttribute('tabindex');
|
|
7079
7149
|
this.element.style.display = 'block';
|
|
7080
7150
|
if (this.inputWrapper.container && this.inputWrapper.container.parentElement) {
|
|
7081
7151
|
if (this.inputWrapper.container.parentElement.tagName === this.getNgDirective()) {
|
|
@@ -7196,6 +7266,9 @@ __decorate$1([
|
|
|
7196
7266
|
__decorate$1([
|
|
7197
7267
|
Property(false)
|
|
7198
7268
|
], DropDownList.prototype, "allowFiltering", void 0);
|
|
7269
|
+
__decorate$1([
|
|
7270
|
+
Property(300)
|
|
7271
|
+
], DropDownList.prototype, "debounceDelay", void 0);
|
|
7199
7272
|
__decorate$1([
|
|
7200
7273
|
Property(true)
|
|
7201
7274
|
], DropDownList.prototype, "isDeviceFullScreen", void 0);
|
|
@@ -7260,12 +7333,12 @@ DropDownList = __decorate$1([
|
|
|
7260
7333
|
NotifyPropertyChanges
|
|
7261
7334
|
], DropDownList);
|
|
7262
7335
|
|
|
7263
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7264
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7265
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7266
|
-
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;
|
|
7267
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7268
|
-
};
|
|
7336
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7337
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7338
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7339
|
+
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;
|
|
7340
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7341
|
+
};
|
|
7269
7342
|
const RTL = 'e-rtl';
|
|
7270
7343
|
const DROPDOWNTREE = 'e-ddt';
|
|
7271
7344
|
const HIDDENELEMENT = 'e-ddt-hidden';
|
|
@@ -7864,6 +7937,9 @@ let DropDownTree = class DropDownTree extends Component {
|
|
|
7864
7937
|
}
|
|
7865
7938
|
/* To wire events for the dropdown tree */
|
|
7866
7939
|
wireEvents() {
|
|
7940
|
+
if (Browser.isIos) {
|
|
7941
|
+
EventHandler.add(this.inputWrapper, 'touchstart', this.handleIosTouch, this);
|
|
7942
|
+
}
|
|
7867
7943
|
EventHandler.add(this.inputWrapper, 'mouseup', this.dropDownClick, this);
|
|
7868
7944
|
EventHandler.add(this.inputWrapper, 'focus', this.focusIn, this);
|
|
7869
7945
|
EventHandler.add(this.inputWrapper, 'blur', this.focusOut, this);
|
|
@@ -7897,6 +7973,9 @@ let DropDownTree = class DropDownTree extends Component {
|
|
|
7897
7973
|
}
|
|
7898
7974
|
/* To unwire events for the dropdown tree */
|
|
7899
7975
|
unWireEvents() {
|
|
7976
|
+
if (Browser.isIos) {
|
|
7977
|
+
EventHandler.remove(this.inputWrapper, 'touchstart', this.handleIosTouch);
|
|
7978
|
+
}
|
|
7900
7979
|
EventHandler.remove(this.inputWrapper, 'mouseup', this.dropDownClick);
|
|
7901
7980
|
EventHandler.remove(this.inputWrapper, 'focus', this.focusIn);
|
|
7902
7981
|
EventHandler.remove(this.inputWrapper, 'blur', this.focusOut);
|
|
@@ -7914,6 +7993,11 @@ let DropDownTree = class DropDownTree extends Component {
|
|
|
7914
7993
|
}
|
|
7915
7994
|
document.removeEventListener('mousedown', this.documentClickContext);
|
|
7916
7995
|
}
|
|
7996
|
+
/* Handles touch events specifically for iOS devices */
|
|
7997
|
+
handleIosTouch(e) {
|
|
7998
|
+
e.preventDefault();
|
|
7999
|
+
this.dropDownClick(e);
|
|
8000
|
+
}
|
|
7917
8001
|
/* Trigger when the dropdown is clicked */
|
|
7918
8002
|
dropDownClick(e) {
|
|
7919
8003
|
if (!this.enabled || this.readonly) {
|
|
@@ -10768,12 +10852,12 @@ DropDownTree = __decorate$2([
|
|
|
10768
10852
|
NotifyPropertyChanges
|
|
10769
10853
|
], DropDownTree);
|
|
10770
10854
|
|
|
10771
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10772
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10773
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10774
|
-
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;
|
|
10775
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10776
|
-
};
|
|
10855
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10856
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10857
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10858
|
+
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;
|
|
10859
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10860
|
+
};
|
|
10777
10861
|
const SPINNER_CLASS = 'e-atc-spinner-icon';
|
|
10778
10862
|
dropDownListClasses.root = 'e-combobox';
|
|
10779
10863
|
const inputObject$1 = {
|
|
@@ -11771,9 +11855,6 @@ __decorate$3([
|
|
|
11771
11855
|
__decorate$3([
|
|
11772
11856
|
Property(true)
|
|
11773
11857
|
], ComboBox.prototype, "showClearButton", void 0);
|
|
11774
|
-
__decorate$3([
|
|
11775
|
-
Property(false)
|
|
11776
|
-
], ComboBox.prototype, "enableRtl", void 0);
|
|
11777
11858
|
__decorate$3([
|
|
11778
11859
|
Event()
|
|
11779
11860
|
], ComboBox.prototype, "customValueSpecifier", void 0);
|
|
@@ -11826,12 +11907,12 @@ ComboBox = __decorate$3([
|
|
|
11826
11907
|
NotifyPropertyChanges
|
|
11827
11908
|
], ComboBox);
|
|
11828
11909
|
|
|
11829
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11830
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11831
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11832
|
-
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;
|
|
11833
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11834
|
-
};
|
|
11910
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11911
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11912
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11913
|
+
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;
|
|
11914
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11915
|
+
};
|
|
11835
11916
|
dropDownListClasses.root = 'e-autocomplete';
|
|
11836
11917
|
dropDownListClasses.icon = 'e-input-group-icon e-ddl-icon e-search-icon';
|
|
11837
11918
|
/**
|
|
@@ -11981,6 +12062,14 @@ let AutoComplete = class AutoComplete extends ComboBox {
|
|
|
11981
12062
|
this.isSelected = false;
|
|
11982
12063
|
this.activeIndex = null;
|
|
11983
12064
|
this.isRequesting = false;
|
|
12065
|
+
if (this.queryString !== '' && this.debounceDelay > 0) {
|
|
12066
|
+
this.debouncedFiltering(e, this.debounceDelay);
|
|
12067
|
+
}
|
|
12068
|
+
else {
|
|
12069
|
+
this.performFiltering(e);
|
|
12070
|
+
}
|
|
12071
|
+
}
|
|
12072
|
+
performFiltering(e) {
|
|
11984
12073
|
const eventArgs = {
|
|
11985
12074
|
preventDefaultAction: false,
|
|
11986
12075
|
text: this.filterInput.value,
|
|
@@ -12527,12 +12616,12 @@ function encodePlaceholder(placeholder) {
|
|
|
12527
12616
|
}
|
|
12528
12617
|
/* eslint-enable valid-jsdoc */
|
|
12529
12618
|
|
|
12530
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12531
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12532
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12533
|
-
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;
|
|
12534
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12535
|
-
};
|
|
12619
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12620
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12621
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12622
|
+
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;
|
|
12623
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12624
|
+
};
|
|
12536
12625
|
const FOCUS = 'e-input-focus';
|
|
12537
12626
|
const DISABLED$1 = 'e-disabled';
|
|
12538
12627
|
const OVER_ALL_WRAPPER = 'e-multiselect e-input-group e-control-wrapper';
|
|
@@ -13111,7 +13200,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
13111
13200
|
valuecheck = this.presentItemValue(this.ulElement);
|
|
13112
13201
|
}
|
|
13113
13202
|
if (valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
|
|
13114
|
-
&& this.listData != null) {
|
|
13203
|
+
&& this.listData != null && !(valuecheck.length === 1 && valuecheck[0] == null)) {
|
|
13115
13204
|
this.isaddNonPresentItems = true;
|
|
13116
13205
|
this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
|
|
13117
13206
|
this.isaddNonPresentItems = false;
|
|
@@ -13986,7 +14075,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
13986
14075
|
pageDownSelection(steps, isVirtualKeyAction) {
|
|
13987
14076
|
const list = this.getItems();
|
|
13988
14077
|
const collection = this.list.querySelectorAll('li.'
|
|
13989
|
-
+ dropDownBaseClasses.li + ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)');
|
|
14078
|
+
+ dropDownBaseClasses.li + ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)' + ':not(.e-virtual-list-end)');
|
|
13990
14079
|
let previousItem = steps <= collection.length ? collection[steps - 1] : collection[collection.length - 1];
|
|
13991
14080
|
if (this.fields.disabled && previousItem && !this.enableVirtualization) {
|
|
13992
14081
|
while (previousItem && (previousItem.classList.contains('e-disabled') || previousItem.classList.contains(HIDE_LIST) ||
|
|
@@ -14003,6 +14092,9 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
14003
14092
|
if (this.enableVirtualization && isVirtualKeyAction) {
|
|
14004
14093
|
previousItem = steps <= list.length ? this.liCollections[steps] : this.liCollections[list.length - 1];
|
|
14005
14094
|
}
|
|
14095
|
+
if (this.enableVirtualization && previousItem && previousItem.classList.contains('e-virtual-list-end')) {
|
|
14096
|
+
previousItem = collection[collection.length - 1];
|
|
14097
|
+
}
|
|
14006
14098
|
this.isKeyBoardAction = true;
|
|
14007
14099
|
this.addListFocus(previousItem);
|
|
14008
14100
|
this.previousFocusItem = previousItem;
|
|
@@ -14483,9 +14575,10 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
14483
14575
|
const selectedListMargin = selectedLI && !isNaN(parseInt(window.getComputedStyle(selectedLI).marginBottom, 10)) ?
|
|
14484
14576
|
parseInt(window.getComputedStyle(selectedLI).marginBottom, 10) : 0;
|
|
14485
14577
|
this.isUpwardScrolling = false;
|
|
14486
|
-
const virtualListCount = this.list.querySelectorAll('.e-virtual-list').length;
|
|
14487
|
-
const
|
|
14488
|
-
|
|
14578
|
+
const virtualListCount = this.list.querySelectorAll('.e-virtual-list:not(.e-virtual-list-end)').length;
|
|
14579
|
+
const liItems = this.list.querySelectorAll('li:not(.e-virtual-list-end)');
|
|
14580
|
+
const lastElementValue = liItems && liItems.length > 0 && liItems[liItems.length - 1] ?
|
|
14581
|
+
liItems[liItems.length - 1].getAttribute('data-value') : null;
|
|
14489
14582
|
const selectedLiOffsetTop = this.virtualListInfo && this.virtualListInfo.startIndex ?
|
|
14490
14583
|
selectedLI.offsetTop + (this.virtualListInfo.startIndex * (selectedLI.offsetHeight + selectedListMargin))
|
|
14491
14584
|
: selectedLI.offsetTop;
|
|
@@ -14538,7 +14631,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
14538
14631
|
this.isKeyBoardAction = isScrollerCHanged;
|
|
14539
14632
|
}
|
|
14540
14633
|
scrollTop(selectedLI, activeIndex, keyCode = null) {
|
|
14541
|
-
const virtualListCount = this.list.querySelectorAll('.e-virtual-list').length;
|
|
14634
|
+
const virtualListCount = this.list.querySelectorAll('.e-virtual-list:not(.e-virtual-list-end)').length;
|
|
14542
14635
|
const selectedListMargin = selectedLI && !isNaN(parseInt(window.getComputedStyle(selectedLI).marginBottom, 10)) ?
|
|
14543
14636
|
parseInt(window.getComputedStyle(selectedLI).marginBottom, 10) : 0;
|
|
14544
14637
|
const selectedLiOffsetTop = (this.virtualListInfo && this.virtualListInfo.startIndex) ?
|
|
@@ -14767,11 +14860,11 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
14767
14860
|
if (this.list) {
|
|
14768
14861
|
let elements = this.list.querySelectorAll('li.'
|
|
14769
14862
|
+ dropDownBaseClasses.li
|
|
14770
|
-
+ ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)');
|
|
14863
|
+
+ ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)' + ':not(.e-virtual-list-end)');
|
|
14771
14864
|
if (this.mode === 'CheckBox' && this.enableGroupCheckBox && !isNullOrUndefined(this.fields.groupBy)) {
|
|
14772
14865
|
elements = this.list.querySelectorAll('li.'
|
|
14773
14866
|
+ dropDownBaseClasses.li + ',li.' + dropDownBaseClasses.group
|
|
14774
|
-
+ ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)');
|
|
14867
|
+
+ ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)' + ':not(.e-virtual-list-end)');
|
|
14775
14868
|
}
|
|
14776
14869
|
let selectedElem = this.list.querySelector('li.' + dropDownBaseClasses.focus);
|
|
14777
14870
|
if (this.enableVirtualization && isVirtualKeyAction && !isNullOrUndefined(this.currentFocuedListElement)) {
|
|
@@ -15169,6 +15262,9 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
15169
15262
|
}
|
|
15170
15263
|
}
|
|
15171
15264
|
}
|
|
15265
|
+
isFilteringWithRemoteData() {
|
|
15266
|
+
return !isNullOrUndefined(this.mainData) && this.mainData.length > 0 && this.allowFiltering;
|
|
15267
|
+
}
|
|
15172
15268
|
removeChip(value, isClearAll) {
|
|
15173
15269
|
if (this.chipCollectionWrapper) {
|
|
15174
15270
|
if (!(this.enableVirtualization && isClearAll)) {
|
|
@@ -15461,7 +15557,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
15461
15557
|
const inputWidth = (this.componentWrapper.offsetWidth) * parseFloat(width) / 100;
|
|
15462
15558
|
width = inputWidth.toString() + 'px';
|
|
15463
15559
|
}
|
|
15464
|
-
return width;
|
|
15560
|
+
return (this.allowResize && this.resizeWidth) ? this.resizeWidth + 'px' : width;
|
|
15465
15561
|
}
|
|
15466
15562
|
mouseIn() {
|
|
15467
15563
|
if (this.enabled && !this.readonly) {
|
|
@@ -15735,7 +15831,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
15735
15831
|
updateInitialData() {
|
|
15736
15832
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
15737
15833
|
const currentData = this.selectData;
|
|
15738
|
-
const ulElement = this.renderItems(currentData, this.fields);
|
|
15834
|
+
const ulElement = this.renderItems(currentData, this.fields, false, this.isClearAllAction);
|
|
15739
15835
|
this.list.scrollTop = 0;
|
|
15740
15836
|
this.virtualListInfo = {
|
|
15741
15837
|
currentPageNumber: null,
|
|
@@ -15955,6 +16051,38 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
15955
16051
|
this.search(event);
|
|
15956
16052
|
});
|
|
15957
16053
|
}
|
|
16054
|
+
performFiltering(e) {
|
|
16055
|
+
const eventArgs = {
|
|
16056
|
+
preventDefaultAction: false,
|
|
16057
|
+
text: this.targetElement(),
|
|
16058
|
+
updateData: (dataSource, query, fields) => {
|
|
16059
|
+
if (eventArgs.cancel) {
|
|
16060
|
+
return;
|
|
16061
|
+
}
|
|
16062
|
+
this.isFiltered = true;
|
|
16063
|
+
this.customFilterQuery = query;
|
|
16064
|
+
this.remoteFilterAction = true;
|
|
16065
|
+
this.isCustomFiltering = true;
|
|
16066
|
+
this.dataUpdater(dataSource, query, fields);
|
|
16067
|
+
},
|
|
16068
|
+
event: e,
|
|
16069
|
+
cancel: false
|
|
16070
|
+
};
|
|
16071
|
+
this.trigger('filtering', eventArgs, (eventArgs) => {
|
|
16072
|
+
this.isFilterPrevented = eventArgs.cancel;
|
|
16073
|
+
if (!eventArgs.cancel) {
|
|
16074
|
+
if (!this.isFiltered && !eventArgs.preventDefaultAction) {
|
|
16075
|
+
this.filterAction = true;
|
|
16076
|
+
this.isFilteringAction = true;
|
|
16077
|
+
if (this.dataSource instanceof DataManager && this.allowCustomValue) {
|
|
16078
|
+
this.isCustomRendered = false;
|
|
16079
|
+
}
|
|
16080
|
+
this.dataUpdater(this.dataSource, null, this.fields);
|
|
16081
|
+
this.isFilteringAction = false;
|
|
16082
|
+
}
|
|
16083
|
+
}
|
|
16084
|
+
});
|
|
16085
|
+
}
|
|
15958
16086
|
search(e) {
|
|
15959
16087
|
this.preventSetCurrentData = false;
|
|
15960
16088
|
this.firstItem = this.dataSource && this.dataSource.length > 0 ? this.dataSource[0] : null;
|
|
@@ -15976,36 +16104,12 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
15976
16104
|
}
|
|
15977
16105
|
this.checkAndResetCache();
|
|
15978
16106
|
this.isRequesting = false;
|
|
15979
|
-
|
|
15980
|
-
|
|
15981
|
-
|
|
15982
|
-
|
|
15983
|
-
|
|
15984
|
-
|
|
15985
|
-
}
|
|
15986
|
-
this.isFiltered = true;
|
|
15987
|
-
this.customFilterQuery = query;
|
|
15988
|
-
this.remoteFilterAction = true;
|
|
15989
|
-
this.isCustomFiltering = true;
|
|
15990
|
-
this.dataUpdater(dataSource, query, fields);
|
|
15991
|
-
},
|
|
15992
|
-
event: e,
|
|
15993
|
-
cancel: false
|
|
15994
|
-
};
|
|
15995
|
-
this.trigger('filtering', eventArgs, (eventArgs) => {
|
|
15996
|
-
this.isFilterPrevented = eventArgs.cancel;
|
|
15997
|
-
if (!eventArgs.cancel) {
|
|
15998
|
-
if (!this.isFiltered && !eventArgs.preventDefaultAction) {
|
|
15999
|
-
this.filterAction = true;
|
|
16000
|
-
this.isFilteringAction = true;
|
|
16001
|
-
if (this.dataSource instanceof DataManager && this.allowCustomValue) {
|
|
16002
|
-
this.isCustomRendered = false;
|
|
16003
|
-
}
|
|
16004
|
-
this.dataUpdater(this.dataSource, null, this.fields);
|
|
16005
|
-
this.isFilteringAction = false;
|
|
16006
|
-
}
|
|
16007
|
-
}
|
|
16008
|
-
});
|
|
16107
|
+
if (this.targetElement() !== '' && this.debounceDelay > 0) {
|
|
16108
|
+
this.debouncedFiltering(e, this.debounceDelay);
|
|
16109
|
+
}
|
|
16110
|
+
else {
|
|
16111
|
+
this.performFiltering(e);
|
|
16112
|
+
}
|
|
16009
16113
|
}
|
|
16010
16114
|
else if (this.allowCustomValue) {
|
|
16011
16115
|
let query = new Query();
|
|
@@ -16308,6 +16412,9 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
16308
16412
|
getValue(((this.fields.value) ? this.fields.value : ''), this.value[index]) :
|
|
16309
16413
|
this.value[index];
|
|
16310
16414
|
element = this.findListElement(this.hideSelectedItem ? this.ulElement : this.list, 'li', 'data-value', value);
|
|
16415
|
+
if (!element && !isNullOrUndefined(this.mainList) && this.isFilteringWithRemoteData()) {
|
|
16416
|
+
element = this.findListElement(this.mainList, 'li', 'data-value', value);
|
|
16417
|
+
}
|
|
16311
16418
|
let isCustomData = false;
|
|
16312
16419
|
if (this.enableVirtualization) {
|
|
16313
16420
|
text = null;
|
|
@@ -16344,6 +16451,12 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
16344
16451
|
}
|
|
16345
16452
|
else {
|
|
16346
16453
|
text = this.getTextByValue(value);
|
|
16454
|
+
if (text === value && this.isFilteringWithRemoteData()) {
|
|
16455
|
+
const savedListData = this.listData;
|
|
16456
|
+
this.listData = this.mainData;
|
|
16457
|
+
text = this.getTextByValue(value);
|
|
16458
|
+
this.listData = savedListData;
|
|
16459
|
+
}
|
|
16347
16460
|
}
|
|
16348
16461
|
if (((element && (element.getAttribute('aria-selected') !== 'true')) ||
|
|
16349
16462
|
(element && (element.getAttribute('aria-selected') === 'true' && this.hideSelectedItem) &&
|
|
@@ -17109,7 +17222,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
17109
17222
|
}
|
|
17110
17223
|
checkClearIconWidth() {
|
|
17111
17224
|
if (this.showClearButton) {
|
|
17112
|
-
this.clearIconWidth = parseInt(window.getComputedStyle(this.overAllClear).width, 10);
|
|
17225
|
+
this.clearIconWidth = parseInt(window.getComputedStyle(this.overAllClear).width, 10) || this.overAllClear.offsetWidth;
|
|
17113
17226
|
}
|
|
17114
17227
|
}
|
|
17115
17228
|
updateRemainWidth(viewWrapper, totalWidth) {
|
|
@@ -18021,7 +18134,9 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
18021
18134
|
this.list.parentElement.style.paddingBottom = '';
|
|
18022
18135
|
const overAllHeight = parseInt(this.popupHeight, 10);
|
|
18023
18136
|
this.list.style.maxHeight = formatUnit(overAllHeight);
|
|
18024
|
-
this.
|
|
18137
|
+
if (this.popupHeight.toString().toLowerCase() !== 'auto' && this.initialPopupHeight >= (parseInt(this.popupHeight.toString(), 10) - 2)) {
|
|
18138
|
+
this.list.parentElement.style.height = formatUnit(this.popupHeight);
|
|
18139
|
+
}
|
|
18025
18140
|
this.list.parentElement.style.maxHeight = formatUnit(this.popupHeight);
|
|
18026
18141
|
}
|
|
18027
18142
|
if (this.resizer) {
|
|
@@ -18346,7 +18461,8 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
18346
18461
|
}
|
|
18347
18462
|
if (this.list && this.list.parentElement) {
|
|
18348
18463
|
this.list.parentElement.classList.add('e-resize');
|
|
18349
|
-
|
|
18464
|
+
this.initialPopupHeight = this.list.parentElement.clientHeight;
|
|
18465
|
+
if (this.popupHeight.toString().toLowerCase() !== 'auto' && this.initialPopupHeight >= (parseInt(this.popupHeight.toString(), 10) - 2)) {
|
|
18350
18466
|
this.list.parentElement.style.height = '100%';
|
|
18351
18467
|
}
|
|
18352
18468
|
this.list.parentElement.style.boxSizing = 'border-box'; // Ensures padding doesn't affect element size
|
|
@@ -18357,6 +18473,18 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
18357
18473
|
this.list.parentElement.style.height = this.resizeHeight + 'px';
|
|
18358
18474
|
this.list.parentElement.style.maxHeight = this.resizeHeight + 'px';
|
|
18359
18475
|
this.list.style.maxHeight = `${this.resizeHeight}px`;
|
|
18476
|
+
if (this.headerTemplate) {
|
|
18477
|
+
const headerElem = this.list.parentElement.querySelector('.e-ddl-header');
|
|
18478
|
+
if (headerElem && headerElem.offsetHeight) {
|
|
18479
|
+
this.headerTemplateHeight = headerElem.offsetHeight;
|
|
18480
|
+
}
|
|
18481
|
+
if (this.resizeHeight) {
|
|
18482
|
+
this.list.style.maxHeight = `${this.resizeHeight - this.headerTemplateHeight - 16}px`;
|
|
18483
|
+
}
|
|
18484
|
+
else {
|
|
18485
|
+
this.list.style.maxHeight = `${parseInt(this.list.style.maxHeight, 10) - 16}px`;
|
|
18486
|
+
}
|
|
18487
|
+
}
|
|
18360
18488
|
}
|
|
18361
18489
|
if (this.resizer) {
|
|
18362
18490
|
EventHandler.add(this.resizer, 'mousedown', this.startResizing, this);
|
|
@@ -18411,6 +18539,9 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
18411
18539
|
this.list.parentElement.style.height = `${this.resizeHeight}px`;
|
|
18412
18540
|
this.list.parentElement.style.maxHeight = `${this.resizeHeight}px`;
|
|
18413
18541
|
this.list.style.maxHeight = `${this.resizeHeight}px`;
|
|
18542
|
+
if (this.headerTemplate) {
|
|
18543
|
+
this.list.style.maxHeight = `${this.resizeHeight - this.headerTemplateHeight - 16}px`;
|
|
18544
|
+
}
|
|
18414
18545
|
if (this.fixedHeaderElement && this.ulElement) {
|
|
18415
18546
|
this.fixedHeaderElement.style.width = `${this.ulElement.offsetWidth}px`;
|
|
18416
18547
|
}
|
|
@@ -18909,6 +19040,9 @@ __decorate$5([
|
|
|
18909
19040
|
__decorate$5([
|
|
18910
19041
|
Property(null)
|
|
18911
19042
|
], MultiSelect.prototype, "allowFiltering", void 0);
|
|
19043
|
+
__decorate$5([
|
|
19044
|
+
Property(300)
|
|
19045
|
+
], MultiSelect.prototype, "debounceDelay", void 0);
|
|
18912
19046
|
__decorate$5([
|
|
18913
19047
|
Property(true)
|
|
18914
19048
|
], MultiSelect.prototype, "isDeviceFullScreen", void 0);
|
|
@@ -19570,12 +19704,12 @@ class CheckBoxSelection {
|
|
|
19570
19704
|
}
|
|
19571
19705
|
}
|
|
19572
19706
|
|
|
19573
|
-
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
19574
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19575
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19576
|
-
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;
|
|
19577
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19578
|
-
};
|
|
19707
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
19708
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19709
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19710
|
+
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;
|
|
19711
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19712
|
+
};
|
|
19579
19713
|
var ListBox_1;
|
|
19580
19714
|
/**
|
|
19581
19715
|
* Defines the Selection settings of List Box.
|
|
@@ -22180,12 +22314,12 @@ const listBoxClasses = {
|
|
|
22180
22314
|
clearIcon: 'e-clear-icon'
|
|
22181
22315
|
};
|
|
22182
22316
|
|
|
22183
|
-
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
22184
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22185
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22186
|
-
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;
|
|
22187
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22188
|
-
};
|
|
22317
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
22318
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22319
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22320
|
+
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;
|
|
22321
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22322
|
+
};
|
|
22189
22323
|
/**
|
|
22190
22324
|
* The Mention component is used to list someone or something based on user input in textarea, input,
|
|
22191
22325
|
* or any other editable element from which the user can select.
|
|
@@ -22200,6 +22334,7 @@ let Mention = class Mention extends DropDownBase {
|
|
|
22200
22334
|
*/
|
|
22201
22335
|
constructor(options, element) {
|
|
22202
22336
|
super(options, element);
|
|
22337
|
+
this.debounceTimer = null;
|
|
22203
22338
|
}
|
|
22204
22339
|
/**
|
|
22205
22340
|
* When property value changes happened, then onPropertyChanged method will execute the respective changes in this component.
|
|
@@ -22633,21 +22768,7 @@ let Mention = class Mention extends DropDownBase {
|
|
|
22633
22768
|
this.range = this.inputElement.ownerDocument.getSelection().getRangeAt(0);
|
|
22634
22769
|
return this.range;
|
|
22635
22770
|
}
|
|
22636
|
-
|
|
22637
|
-
this.isDataFetched = false;
|
|
22638
|
-
if (isNullOrUndefined(this.list)) {
|
|
22639
|
-
super.render();
|
|
22640
|
-
this.unWireListEvents();
|
|
22641
|
-
this.wireListEvents();
|
|
22642
|
-
}
|
|
22643
|
-
if (e.type !== 'mousedown' && (e.keyCode === 40 || e.keyCode === 38)) {
|
|
22644
|
-
this.queryString = this.queryString === '' ? null : this.queryString;
|
|
22645
|
-
this.beforePopupOpen = true;
|
|
22646
|
-
this.resetList(this.dataSource, this.fields);
|
|
22647
|
-
return;
|
|
22648
|
-
}
|
|
22649
|
-
this.isSelected = false;
|
|
22650
|
-
this.activeIndex = null;
|
|
22771
|
+
performFiltering(e) {
|
|
22651
22772
|
const eventArgs = {
|
|
22652
22773
|
preventDefaultAction: false,
|
|
22653
22774
|
text: this.queryString,
|
|
@@ -22666,6 +22787,28 @@ let Mention = class Mention extends DropDownBase {
|
|
|
22666
22787
|
}
|
|
22667
22788
|
});
|
|
22668
22789
|
}
|
|
22790
|
+
searchLists(e) {
|
|
22791
|
+
this.isDataFetched = false;
|
|
22792
|
+
if (isNullOrUndefined(this.list)) {
|
|
22793
|
+
super.render();
|
|
22794
|
+
this.unWireListEvents();
|
|
22795
|
+
this.wireListEvents();
|
|
22796
|
+
}
|
|
22797
|
+
if (e.type !== 'mousedown' && (e.keyCode === 40 || e.keyCode === 38)) {
|
|
22798
|
+
this.queryString = this.queryString === '' ? null : this.queryString;
|
|
22799
|
+
this.beforePopupOpen = true;
|
|
22800
|
+
this.resetList(this.dataSource, this.fields);
|
|
22801
|
+
return;
|
|
22802
|
+
}
|
|
22803
|
+
this.isSelected = false;
|
|
22804
|
+
this.activeIndex = null;
|
|
22805
|
+
if (this.queryString !== '' && this.debounceDelay > 0) {
|
|
22806
|
+
this.debouncedFiltering(e, this.debounceDelay);
|
|
22807
|
+
}
|
|
22808
|
+
else {
|
|
22809
|
+
this.performFiltering(e);
|
|
22810
|
+
}
|
|
22811
|
+
}
|
|
22669
22812
|
filterAction(dataSource, query, fields) {
|
|
22670
22813
|
this.beforePopupOpen = true;
|
|
22671
22814
|
if (this.queryString.length >= this.minLength) {
|
|
@@ -23857,6 +24000,9 @@ __decorate$7([
|
|
|
23857
24000
|
__decorate$7([
|
|
23858
24001
|
Property('300px')
|
|
23859
24002
|
], Mention.prototype, "popupHeight", void 0);
|
|
24003
|
+
__decorate$7([
|
|
24004
|
+
Property(300)
|
|
24005
|
+
], Mention.prototype, "debounceDelay", void 0);
|
|
23860
24006
|
__decorate$7([
|
|
23861
24007
|
Property(null)
|
|
23862
24008
|
], Mention.prototype, "displayTemplate", void 0);
|