@syncfusion/ej2-dropdowns 34.2.8 → 35.1.37
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/dist/ej2-dropdowns.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +476 -109
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +498 -131
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/common/interface.d.ts +1 -1
- package/src/common/virtual-scroll.js +8 -1
- package/src/drop-down-base/drop-down-base.d.ts +3 -1
- package/src/drop-down-base/drop-down-base.js +12 -4
- package/src/mention/mention.js +6 -2
- package/src/multi-select/multi-select-model.d.ts +16 -0
- package/src/multi-select/multi-select.d.ts +21 -0
- package/src/multi-select/multi-select.js +472 -124
- 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 -13
- 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/_variables.scss +0 -2
- package/styles/auto-complete/bds.css +0 -1
- package/styles/auto-complete/bds.scss +0 -2
- package/styles/auto-complete/bootstrap-dark.css +0 -1
- package/styles/auto-complete/bootstrap-dark.scss +0 -2
- package/styles/auto-complete/bootstrap.css +0 -1
- package/styles/auto-complete/bootstrap.scss +0 -2
- package/styles/auto-complete/bootstrap4.css +0 -9
- package/styles/auto-complete/bootstrap4.scss +0 -2
- package/styles/auto-complete/bootstrap5-dark.css +0 -1
- package/styles/auto-complete/bootstrap5-dark.scss +0 -2
- package/styles/auto-complete/bootstrap5.3.css +0 -1
- package/styles/auto-complete/bootstrap5.3.scss +0 -2
- package/styles/auto-complete/bootstrap5.css +0 -1
- package/styles/auto-complete/bootstrap5.scss +0 -2
- package/styles/auto-complete/fabric-dark.css +0 -1
- package/styles/auto-complete/fabric-dark.scss +0 -2
- package/styles/auto-complete/fabric.css +0 -1
- package/styles/auto-complete/fabric.scss +0 -2
- package/styles/auto-complete/fluent-dark.css +0 -1
- package/styles/auto-complete/fluent-dark.scss +0 -2
- package/styles/auto-complete/fluent.css +0 -1
- package/styles/auto-complete/fluent.scss +0 -2
- package/styles/auto-complete/fluent2.css +0 -1
- package/styles/auto-complete/fluent2.scss +0 -2
- package/styles/auto-complete/highcontrast-light.css +0 -1
- package/styles/auto-complete/highcontrast-light.scss +0 -2
- package/styles/auto-complete/highcontrast.css +0 -1
- package/styles/auto-complete/highcontrast.scss +0 -2
- package/styles/auto-complete/material-dark.css +0 -1
- package/styles/auto-complete/material-dark.scss +0 -2
- package/styles/auto-complete/material.css +0 -1
- package/styles/auto-complete/material.scss +0 -2
- package/styles/auto-complete/material3-dark.css +0 -83
- package/styles/auto-complete/material3-dark.scss +0 -2
- package/styles/auto-complete/material3.css +0 -1
- package/styles/auto-complete/material3.scss +0 -2
- package/styles/auto-complete/tailwind-dark.css +0 -1
- package/styles/auto-complete/tailwind-dark.scss +0 -2
- package/styles/auto-complete/tailwind.css +0 -1
- package/styles/auto-complete/tailwind.scss +0 -2
- package/styles/auto-complete/tailwind3.css +0 -1
- package/styles/auto-complete/tailwind3.scss +0 -2
- package/styles/bds-lite.css +0 -2877
- package/styles/bds-lite.scss +0 -21
- package/styles/bds.css +0 -3729
- package/styles/bds.scss +0 -26
- package/styles/bootstrap-dark-lite.css +0 -2811
- package/styles/bootstrap-dark-lite.scss +0 -21
- package/styles/bootstrap-dark.css +0 -3506
- package/styles/bootstrap-dark.scss +0 -26
- package/styles/bootstrap-lite.css +0 -2806
- package/styles/bootstrap-lite.scss +0 -21
- package/styles/bootstrap.css +0 -3507
- package/styles/bootstrap.scss +0 -26
- package/styles/bootstrap4-lite.css +0 -2920
- package/styles/bootstrap4-lite.scss +0 -21
- package/styles/bootstrap4.css +0 -3790
- package/styles/bootstrap4.scss +0 -26
- package/styles/bootstrap5-dark-lite.css +0 -2887
- package/styles/bootstrap5-dark-lite.scss +0 -21
- package/styles/bootstrap5-dark.css +0 -3677
- package/styles/bootstrap5-dark.scss +0 -26
- package/styles/bootstrap5-lite.css +0 -2888
- package/styles/bootstrap5-lite.scss +0 -21
- package/styles/bootstrap5.3-lite.css +0 -2962
- package/styles/bootstrap5.3-lite.scss +0 -21
- package/styles/bootstrap5.3.css +0 -3709
- package/styles/bootstrap5.3.scss +0 -26
- package/styles/bootstrap5.css +0 -3678
- package/styles/bootstrap5.scss +0 -26
- 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 -13
- 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/_variables.scss +0 -2
- package/styles/combo-box/bds.css +0 -1
- package/styles/combo-box/bds.scss +0 -2
- package/styles/combo-box/bootstrap-dark.css +0 -1
- package/styles/combo-box/bootstrap-dark.scss +0 -2
- package/styles/combo-box/bootstrap.css +0 -1
- package/styles/combo-box/bootstrap.scss +0 -2
- package/styles/combo-box/bootstrap4.css +0 -9
- package/styles/combo-box/bootstrap4.scss +0 -2
- package/styles/combo-box/bootstrap5-dark.css +0 -1
- package/styles/combo-box/bootstrap5-dark.scss +0 -2
- package/styles/combo-box/bootstrap5.3.css +0 -1
- package/styles/combo-box/bootstrap5.3.scss +0 -2
- package/styles/combo-box/bootstrap5.css +0 -1
- package/styles/combo-box/bootstrap5.scss +0 -2
- package/styles/combo-box/fabric-dark.css +0 -1
- package/styles/combo-box/fabric-dark.scss +0 -2
- package/styles/combo-box/fabric.css +0 -1
- package/styles/combo-box/fabric.scss +0 -2
- package/styles/combo-box/fluent-dark.css +0 -1
- package/styles/combo-box/fluent-dark.scss +0 -2
- package/styles/combo-box/fluent.css +0 -1
- package/styles/combo-box/fluent.scss +0 -2
- package/styles/combo-box/fluent2.css +0 -1
- package/styles/combo-box/fluent2.scss +0 -2
- package/styles/combo-box/highcontrast-light.css +0 -1
- package/styles/combo-box/highcontrast-light.scss +0 -2
- package/styles/combo-box/highcontrast.css +0 -1
- package/styles/combo-box/highcontrast.scss +0 -2
- package/styles/combo-box/material-dark.css +0 -1
- package/styles/combo-box/material-dark.scss +0 -2
- package/styles/combo-box/material.css +0 -1
- package/styles/combo-box/material.scss +0 -2
- package/styles/combo-box/material3-dark.css +0 -83
- package/styles/combo-box/material3-dark.scss +0 -2
- package/styles/combo-box/material3.css +0 -1
- package/styles/combo-box/material3.scss +0 -2
- package/styles/combo-box/tailwind-dark.css +0 -1
- package/styles/combo-box/tailwind-dark.scss +0 -2
- package/styles/combo-box/tailwind.css +0 -1
- package/styles/combo-box/tailwind.scss +0 -2
- package/styles/combo-box/tailwind3.css +0 -1
- package/styles/combo-box/tailwind3.scss +0 -2
- package/styles/drop-down-base/_all.scss +0 -2
- package/styles/drop-down-base/_bds-definition.scss +0 -136
- package/styles/drop-down-base/_bigger.scss +0 -194
- package/styles/drop-down-base/_bootstrap-dark-definition.scss +0 -99
- package/styles/drop-down-base/_bootstrap-definition.scss +0 -98
- package/styles/drop-down-base/_bootstrap4-definition.scss +0 -102
- package/styles/drop-down-base/_bootstrap5-dark-definition.scss +0 -119
- package/styles/drop-down-base/_bootstrap5-definition.scss +0 -119
- package/styles/drop-down-base/_bootstrap5.3-definition.scss +0 -122
- package/styles/drop-down-base/_definition.scss +0 -24
- package/styles/drop-down-base/_fabric-dark-definition.scss +0 -101
- package/styles/drop-down-base/_fabric-definition.scss +0 -99
- package/styles/drop-down-base/_fluent-dark-definition.scss +0 -122
- package/styles/drop-down-base/_fluent-definition.scss +0 -122
- package/styles/drop-down-base/_fluent2-definition.scss +0 -150
- package/styles/drop-down-base/_fusionnew-definition.scss +0 -118
- package/styles/drop-down-base/_highcontrast-definition.scss +0 -116
- package/styles/drop-down-base/_highcontrast-light-definition.scss +0 -116
- package/styles/drop-down-base/_layout.scss +0 -158
- package/styles/drop-down-base/_material-dark-definition.scss +0 -104
- package/styles/drop-down-base/_material-definition.scss +0 -102
- package/styles/drop-down-base/_material3-dark-definition.scss +0 -97
- package/styles/drop-down-base/_material3-definition.scss +0 -97
- package/styles/drop-down-base/_tailwind-dark-definition.scss +0 -130
- package/styles/drop-down-base/_tailwind-definition.scss +0 -130
- package/styles/drop-down-base/_tailwind3-definition.scss +0 -121
- package/styles/drop-down-base/_theme.scss +0 -310
- package/styles/drop-down-base/_variables.scss +0 -2
- package/styles/drop-down-base/bds.css +0 -500
- package/styles/drop-down-base/bds.scss +0 -3
- package/styles/drop-down-base/bootstrap-dark.css +0 -382
- package/styles/drop-down-base/bootstrap-dark.scss +0 -3
- package/styles/drop-down-base/bootstrap.css +0 -382
- package/styles/drop-down-base/bootstrap.scss +0 -3
- package/styles/drop-down-base/bootstrap4.css +0 -392
- package/styles/drop-down-base/bootstrap4.scss +0 -3
- package/styles/drop-down-base/bootstrap5-dark.css +0 -414
- package/styles/drop-down-base/bootstrap5-dark.scss +0 -3
- package/styles/drop-down-base/bootstrap5.3.css +0 -500
- package/styles/drop-down-base/bootstrap5.3.scss +0 -3
- package/styles/drop-down-base/bootstrap5.css +0 -414
- package/styles/drop-down-base/bootstrap5.scss +0 -3
- package/styles/drop-down-base/fabric-dark.css +0 -382
- package/styles/drop-down-base/fabric-dark.scss +0 -3
- package/styles/drop-down-base/fabric.css +0 -382
- package/styles/drop-down-base/fabric.scss +0 -3
- package/styles/drop-down-base/fluent-dark.css +0 -430
- package/styles/drop-down-base/fluent-dark.scss +0 -3
- package/styles/drop-down-base/fluent.css +0 -430
- package/styles/drop-down-base/fluent.scss +0 -3
- package/styles/drop-down-base/fluent2.css +0 -517
- package/styles/drop-down-base/fluent2.scss +0 -3
- package/styles/drop-down-base/highcontrast-light.css +0 -394
- package/styles/drop-down-base/highcontrast-light.scss +0 -3
- package/styles/drop-down-base/highcontrast.css +0 -394
- package/styles/drop-down-base/highcontrast.scss +0 -3
- package/styles/drop-down-base/material-dark.css +0 -380
- package/styles/drop-down-base/material-dark.scss +0 -3
- package/styles/drop-down-base/material.css +0 -380
- package/styles/drop-down-base/material.scss +0 -3
- package/styles/drop-down-base/material3-dark.css +0 -468
- package/styles/drop-down-base/material3-dark.scss +0 -3
- package/styles/drop-down-base/material3.css +0 -470
- package/styles/drop-down-base/material3.scss +0 -3
- package/styles/drop-down-base/tailwind-dark.css +0 -491
- package/styles/drop-down-base/tailwind-dark.scss +0 -3
- package/styles/drop-down-base/tailwind.css +0 -491
- package/styles/drop-down-base/tailwind.scss +0 -3
- package/styles/drop-down-base/tailwind3.css +0 -467
- package/styles/drop-down-base/tailwind3.scss +0 -3
- package/styles/drop-down-list/_all.scss +0 -2
- package/styles/drop-down-list/_bds-definition.scss +0 -122
- package/styles/drop-down-list/_bigger.scss +0 -624
- package/styles/drop-down-list/_bootstrap-dark-definition.scss +0 -118
- package/styles/drop-down-list/_bootstrap-definition.scss +0 -117
- package/styles/drop-down-list/_bootstrap4-definition.scss +0 -155
- package/styles/drop-down-list/_bootstrap5-dark-definition.scss +0 -166
- package/styles/drop-down-list/_bootstrap5-definition.scss +0 -166
- package/styles/drop-down-list/_bootstrap5.3-definition.scss +0 -166
- package/styles/drop-down-list/_fabric-dark-definition.scss +0 -96
- package/styles/drop-down-list/_fabric-definition.scss +0 -93
- package/styles/drop-down-list/_fluent-dark-definition.scss +0 -152
- package/styles/drop-down-list/_fluent-definition.scss +0 -152
- package/styles/drop-down-list/_fluent2-definition.scss +0 -158
- package/styles/drop-down-list/_fusionnew-definition.scss +0 -159
- package/styles/drop-down-list/_highcontrast-definition.scss +0 -107
- package/styles/drop-down-list/_highcontrast-light-definition.scss +0 -109
- package/styles/drop-down-list/_layout.scss +0 -294
- package/styles/drop-down-list/_material-dark-definition.scss +0 -134
- package/styles/drop-down-list/_material-definition.scss +0 -136
- package/styles/drop-down-list/_material3-dark-definition.scss +0 -196
- package/styles/drop-down-list/_material3-definition.scss +0 -196
- package/styles/drop-down-list/_tailwind-dark-definition.scss +0 -124
- package/styles/drop-down-list/_tailwind-definition.scss +0 -124
- package/styles/drop-down-list/_tailwind3-definition.scss +0 -160
- package/styles/drop-down-list/_theme.scss +0 -18
- package/styles/drop-down-list/_variables.scss +0 -2
- package/styles/drop-down-list/bds.css +0 -412
- package/styles/drop-down-list/bds.scss +0 -4
- package/styles/drop-down-list/bootstrap-dark.css +0 -423
- package/styles/drop-down-list/bootstrap-dark.scss +0 -4
- package/styles/drop-down-list/bootstrap.css +0 -425
- package/styles/drop-down-list/bootstrap.scss +0 -4
- package/styles/drop-down-list/bootstrap4.css +0 -472
- package/styles/drop-down-list/bootstrap4.scss +0 -4
- package/styles/drop-down-list/bootstrap5-dark.css +0 -456
- package/styles/drop-down-list/bootstrap5-dark.scss +0 -4
- package/styles/drop-down-list/bootstrap5.3.css +0 -541
- package/styles/drop-down-list/bootstrap5.3.scss +0 -4
- package/styles/drop-down-list/bootstrap5.css +0 -456
- package/styles/drop-down-list/bootstrap5.scss +0 -4
- package/styles/drop-down-list/fabric-dark.css +0 -398
- package/styles/drop-down-list/fabric-dark.scss +0 -4
- package/styles/drop-down-list/fabric.css +0 -398
- package/styles/drop-down-list/fabric.scss +0 -4
- package/styles/drop-down-list/fluent-dark.css +0 -429
- package/styles/drop-down-list/fluent-dark.scss +0 -4
- package/styles/drop-down-list/fluent.css +0 -429
- package/styles/drop-down-list/fluent.scss +0 -4
- package/styles/drop-down-list/fluent2.css +0 -502
- package/styles/drop-down-list/fluent2.scss +0 -4
- package/styles/drop-down-list/highcontrast-light.css +0 -387
- package/styles/drop-down-list/highcontrast-light.scss +0 -4
- package/styles/drop-down-list/highcontrast.css +0 -402
- package/styles/drop-down-list/highcontrast.scss +0 -4
- package/styles/drop-down-list/icons/_bds.scss +0 -15
- package/styles/drop-down-list/icons/_bootstrap-dark.scss +0 -19
- package/styles/drop-down-list/icons/_bootstrap.scss +0 -19
- package/styles/drop-down-list/icons/_bootstrap4.scss +0 -19
- package/styles/drop-down-list/icons/_bootstrap5-dark.scss +0 -1
- package/styles/drop-down-list/icons/_bootstrap5.3.scss +0 -19
- package/styles/drop-down-list/icons/_bootstrap5.scss +0 -19
- package/styles/drop-down-list/icons/_fabric-dark.scss +0 -19
- package/styles/drop-down-list/icons/_fabric.scss +0 -19
- package/styles/drop-down-list/icons/_fluent-dark.scss +0 -1
- package/styles/drop-down-list/icons/_fluent.scss +0 -19
- package/styles/drop-down-list/icons/_fluent2.scss +0 -19
- package/styles/drop-down-list/icons/_fusionnew.scss +0 -15
- package/styles/drop-down-list/icons/_highcontrast-light.scss +0 -15
- package/styles/drop-down-list/icons/_highcontrast.scss +0 -19
- package/styles/drop-down-list/icons/_material-dark.scss +0 -19
- package/styles/drop-down-list/icons/_material.scss +0 -19
- package/styles/drop-down-list/icons/_material3-dark.scss +0 -1
- package/styles/drop-down-list/icons/_material3.scss +0 -19
- package/styles/drop-down-list/icons/_tailwind-dark.scss +0 -1
- package/styles/drop-down-list/icons/_tailwind.scss +0 -19
- package/styles/drop-down-list/icons/_tailwind3.scss +0 -15
- package/styles/drop-down-list/material-dark.css +0 -432
- package/styles/drop-down-list/material-dark.scss +0 -4
- package/styles/drop-down-list/material.css +0 -451
- package/styles/drop-down-list/material.scss +0 -4
- package/styles/drop-down-list/material3-dark.css +0 -548
- package/styles/drop-down-list/material3-dark.scss +0 -4
- package/styles/drop-down-list/material3.css +0 -550
- package/styles/drop-down-list/material3.scss +0 -4
- package/styles/drop-down-list/tailwind-dark.css +0 -412
- package/styles/drop-down-list/tailwind-dark.scss +0 -4
- package/styles/drop-down-list/tailwind.css +0 -412
- package/styles/drop-down-list/tailwind.scss +0 -4
- package/styles/drop-down-list/tailwind3.css +0 -473
- package/styles/drop-down-list/tailwind3.scss +0 -4
- package/styles/drop-down-tree/_all.scss +0 -2
- package/styles/drop-down-tree/_bds-definition.scss +0 -94
- package/styles/drop-down-tree/_bigger.scss +0 -589
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +0 -102
- package/styles/drop-down-tree/_bootstrap-definition.scss +0 -100
- package/styles/drop-down-tree/_bootstrap4-definition.scss +0 -104
- package/styles/drop-down-tree/_bootstrap5-dark-definition.scss +0 -93
- package/styles/drop-down-tree/_bootstrap5-definition.scss +0 -93
- package/styles/drop-down-tree/_bootstrap5.3-definition.scss +0 -92
- package/styles/drop-down-tree/_fabric-dark-definition.scss +0 -101
- package/styles/drop-down-tree/_fabric-definition.scss +0 -101
- package/styles/drop-down-tree/_fluent-dark-definition.scss +0 -97
- package/styles/drop-down-tree/_fluent-definition.scss +0 -97
- package/styles/drop-down-tree/_fluent2-definition.scss +0 -118
- package/styles/drop-down-tree/_fusionnew-definition.scss +0 -88
- package/styles/drop-down-tree/_highcontrast-definition.scss +0 -101
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +0 -101
- package/styles/drop-down-tree/_layout.scss +0 -980
- package/styles/drop-down-tree/_material-dark-definition.scss +0 -102
- package/styles/drop-down-tree/_material-definition.scss +0 -102
- package/styles/drop-down-tree/_material3-dark-definition.scss +0 -106
- package/styles/drop-down-tree/_material3-definition.scss +0 -106
- package/styles/drop-down-tree/_tailwind-dark-definition.scss +0 -94
- package/styles/drop-down-tree/_tailwind-definition.scss +0 -94
- package/styles/drop-down-tree/_tailwind3-definition.scss +0 -110
- package/styles/drop-down-tree/_theme.scss +0 -144
- package/styles/drop-down-tree/_variables.scss +0 -2
- package/styles/drop-down-tree/bds.css +0 -513
- package/styles/drop-down-tree/bds.scss +0 -4
- package/styles/drop-down-tree/bootstrap-dark.css +0 -438
- package/styles/drop-down-tree/bootstrap-dark.scss +0 -4
- package/styles/drop-down-tree/bootstrap.css +0 -438
- package/styles/drop-down-tree/bootstrap.scss +0 -4
- package/styles/drop-down-tree/bootstrap4.css +0 -462
- package/styles/drop-down-tree/bootstrap4.scss +0 -4
- package/styles/drop-down-tree/bootstrap5-dark.css +0 -486
- package/styles/drop-down-tree/bootstrap5-dark.scss +0 -4
- package/styles/drop-down-tree/bootstrap5.3.css +0 -501
- package/styles/drop-down-tree/bootstrap5.3.scss +0 -4
- package/styles/drop-down-tree/bootstrap5.css +0 -486
- package/styles/drop-down-tree/bootstrap5.scss +0 -4
- package/styles/drop-down-tree/fabric-dark.css +0 -440
- package/styles/drop-down-tree/fabric-dark.scss +0 -4
- package/styles/drop-down-tree/fabric.css +0 -440
- package/styles/drop-down-tree/fabric.scss +0 -4
- package/styles/drop-down-tree/fluent-dark.css +0 -488
- package/styles/drop-down-tree/fluent-dark.scss +0 -4
- package/styles/drop-down-tree/fluent.css +0 -488
- package/styles/drop-down-tree/fluent.scss +0 -4
- package/styles/drop-down-tree/fluent2.css +0 -551
- package/styles/drop-down-tree/fluent2.scss +0 -4
- package/styles/drop-down-tree/highcontrast-light.css +0 -441
- package/styles/drop-down-tree/highcontrast-light.scss +0 -4
- package/styles/drop-down-tree/highcontrast.css +0 -450
- package/styles/drop-down-tree/highcontrast.scss +0 -4
- package/styles/drop-down-tree/icons/_bds.scss +0 -12
- package/styles/drop-down-tree/icons/_bootstrap-dark.scss +0 -12
- package/styles/drop-down-tree/icons/_bootstrap.scss +0 -12
- package/styles/drop-down-tree/icons/_bootstrap4.scss +0 -12
- package/styles/drop-down-tree/icons/_bootstrap5-dark.scss +0 -1
- package/styles/drop-down-tree/icons/_bootstrap5.3.scss +0 -12
- package/styles/drop-down-tree/icons/_bootstrap5.scss +0 -12
- package/styles/drop-down-tree/icons/_fabric-dark.scss +0 -12
- package/styles/drop-down-tree/icons/_fabric.scss +0 -12
- package/styles/drop-down-tree/icons/_fluent-dark.scss +0 -1
- package/styles/drop-down-tree/icons/_fluent.scss +0 -12
- package/styles/drop-down-tree/icons/_fluent2.scss +0 -15
- package/styles/drop-down-tree/icons/_fusionnew.scss +0 -12
- package/styles/drop-down-tree/icons/_highcontrast-light.scss +0 -12
- package/styles/drop-down-tree/icons/_highcontrast.scss +0 -12
- package/styles/drop-down-tree/icons/_material-dark.scss +0 -12
- package/styles/drop-down-tree/icons/_material.scss +0 -12
- package/styles/drop-down-tree/icons/_material3-dark.scss +0 -1
- package/styles/drop-down-tree/icons/_material3.scss +0 -12
- package/styles/drop-down-tree/icons/_tailwind-dark.scss +0 -12
- package/styles/drop-down-tree/icons/_tailwind.scss +0 -12
- package/styles/drop-down-tree/icons/_tailwind3.scss +0 -12
- package/styles/drop-down-tree/material-dark.css +0 -748
- package/styles/drop-down-tree/material-dark.scss +0 -4
- package/styles/drop-down-tree/material.css +0 -751
- package/styles/drop-down-tree/material.scss +0 -4
- package/styles/drop-down-tree/material3-dark.css +0 -733
- package/styles/drop-down-tree/material3-dark.scss +0 -4
- package/styles/drop-down-tree/material3.css +0 -735
- package/styles/drop-down-tree/material3.scss +0 -4
- package/styles/drop-down-tree/tailwind-dark.css +0 -509
- package/styles/drop-down-tree/tailwind-dark.scss +0 -4
- package/styles/drop-down-tree/tailwind.css +0 -509
- package/styles/drop-down-tree/tailwind.scss +0 -4
- package/styles/drop-down-tree/tailwind3.css +0 -533
- package/styles/drop-down-tree/tailwind3.scss +0 -4
- package/styles/fabric-dark-lite.css +0 -2789
- package/styles/fabric-dark-lite.scss +0 -21
- package/styles/fabric-dark.css +0 -3486
- package/styles/fabric-dark.scss +0 -26
- package/styles/fabric-lite.css +0 -2784
- package/styles/fabric-lite.scss +0 -21
- package/styles/fabric.css +0 -3487
- package/styles/fabric.scss +0 -26
- package/styles/fluent-dark-lite.css +0 -2912
- package/styles/fluent-dark-lite.scss +0 -21
- package/styles/fluent-dark.css +0 -3712
- package/styles/fluent-dark.scss +0 -26
- package/styles/fluent-lite.css +0 -2913
- package/styles/fluent-lite.scss +0 -21
- package/styles/fluent.css +0 -3713
- package/styles/fluent.scss +0 -26
- package/styles/fluent2-lite.css +0 -3133
- package/styles/fluent2-lite.scss +0 -21
- package/styles/fluent2.css +0 -3808
- package/styles/fluent2.scss +0 -26
- package/styles/highcontrast-light-lite.css +0 -2897
- package/styles/highcontrast-light-lite.scss +0 -21
- package/styles/highcontrast-light.css +0 -3586
- package/styles/highcontrast-light.scss +0 -26
- package/styles/highcontrast-lite.css +0 -2942
- package/styles/highcontrast-lite.scss +0 -21
- package/styles/highcontrast.css +0 -3637
- package/styles/highcontrast.scss +0 -26
- package/styles/list-box/_all.scss +0 -2
- package/styles/list-box/_bds-definition.scss +0 -190
- package/styles/list-box/_bigger.scss +0 -184
- package/styles/list-box/_bootstrap-dark-definition.scss +0 -172
- package/styles/list-box/_bootstrap-definition.scss +0 -166
- package/styles/list-box/_bootstrap4-definition.scss +0 -174
- package/styles/list-box/_bootstrap5-dark-definition.scss +0 -168
- package/styles/list-box/_bootstrap5-definition.scss +0 -168
- package/styles/list-box/_bootstrap5.3-definition.scss +0 -175
- package/styles/list-box/_fabric-dark-definition.scss +0 -171
- package/styles/list-box/_fabric-definition.scss +0 -166
- package/styles/list-box/_fluent-dark-definition.scss +0 -167
- package/styles/list-box/_fluent-definition.scss +0 -167
- package/styles/list-box/_fluent2-definition.scss +0 -175
- package/styles/list-box/_fusionnew-definition.scss +0 -158
- package/styles/list-box/_highcontrast-definition.scss +0 -166
- package/styles/list-box/_highcontrast-light-definition.scss +0 -171
- package/styles/list-box/_layout.scss +0 -495
- package/styles/list-box/_material-dark-definition.scss +0 -171
- package/styles/list-box/_material-definition.scss +0 -166
- package/styles/list-box/_material3-dark-definition.scss +0 -169
- package/styles/list-box/_material3-definition.scss +0 -169
- package/styles/list-box/_tailwind-dark-definition.scss +0 -166
- package/styles/list-box/_tailwind-definition.scss +0 -166
- package/styles/list-box/_tailwind3-definition.scss +0 -184
- package/styles/list-box/_theme.scss +0 -334
- package/styles/list-box/_variables.scss +0 -2
- package/styles/list-box/bds.css +0 -949
- package/styles/list-box/bds.scss +0 -4
- package/styles/list-box/bootstrap-dark.css +0 -917
- package/styles/list-box/bootstrap-dark.scss +0 -4
- package/styles/list-box/bootstrap.css +0 -928
- package/styles/list-box/bootstrap.scss +0 -4
- package/styles/list-box/bootstrap4.css +0 -972
- package/styles/list-box/bootstrap4.scss +0 -4
- package/styles/list-box/bootstrap5-dark.css +0 -928
- package/styles/list-box/bootstrap5-dark.scss +0 -4
- package/styles/list-box/bootstrap5.3.css +0 -1025
- package/styles/list-box/bootstrap5.3.scss +0 -4
- package/styles/list-box/bootstrap5.css +0 -928
- package/styles/list-box/bootstrap5.scss +0 -4
- package/styles/list-box/fabric-dark.css +0 -917
- package/styles/list-box/fabric-dark.scss +0 -4
- package/styles/list-box/fabric.css +0 -928
- package/styles/list-box/fabric.scss +0 -4
- package/styles/list-box/fluent-dark.css +0 -928
- package/styles/list-box/fluent-dark.scss +0 -4
- package/styles/list-box/fluent.css +0 -928
- package/styles/list-box/fluent.scss +0 -4
- package/styles/list-box/fluent2.css +0 -1038
- package/styles/list-box/fluent2.scss +0 -4
- package/styles/list-box/highcontrast-light.css +0 -917
- package/styles/list-box/highcontrast-light.scss +0 -4
- package/styles/list-box/highcontrast.css +0 -928
- package/styles/list-box/highcontrast.scss +0 -4
- package/styles/list-box/icons/_bds.scss +0 -26
- package/styles/list-box/icons/_bootstrap-dark.scss +0 -26
- package/styles/list-box/icons/_bootstrap.scss +0 -26
- package/styles/list-box/icons/_bootstrap4.scss +0 -26
- package/styles/list-box/icons/_bootstrap5-dark.scss +0 -1
- package/styles/list-box/icons/_bootstrap5.3.scss +0 -26
- package/styles/list-box/icons/_bootstrap5.scss +0 -26
- package/styles/list-box/icons/_fabric-dark.scss +0 -26
- package/styles/list-box/icons/_fabric.scss +0 -26
- package/styles/list-box/icons/_fluent-dark.scss +0 -1
- package/styles/list-box/icons/_fluent.scss +0 -26
- package/styles/list-box/icons/_fluent2.scss +0 -26
- package/styles/list-box/icons/_fusionnew.scss +0 -26
- package/styles/list-box/icons/_highcontrast-light.scss +0 -26
- package/styles/list-box/icons/_highcontrast.scss +0 -26
- package/styles/list-box/icons/_material-dark.scss +0 -26
- package/styles/list-box/icons/_material.scss +0 -26
- package/styles/list-box/icons/_material3-dark.scss +0 -1
- package/styles/list-box/icons/_material3.scss +0 -26
- package/styles/list-box/icons/_tailwind-dark.scss +0 -26
- package/styles/list-box/icons/_tailwind.scss +0 -26
- package/styles/list-box/icons/_tailwind3.scss +0 -26
- package/styles/list-box/material-dark.css +0 -917
- package/styles/list-box/material-dark.scss +0 -4
- package/styles/list-box/material.css +0 -928
- package/styles/list-box/material.scss +0 -4
- package/styles/list-box/material3-dark.css +0 -1000
- package/styles/list-box/material3-dark.scss +0 -4
- package/styles/list-box/material3.css +0 -1002
- package/styles/list-box/material3.scss +0 -4
- package/styles/list-box/tailwind-dark.css +0 -928
- package/styles/list-box/tailwind-dark.scss +0 -4
- package/styles/list-box/tailwind.css +0 -928
- package/styles/list-box/tailwind.scss +0 -4
- package/styles/list-box/tailwind3.css +0 -1062
- package/styles/list-box/tailwind3.scss +0 -4
- package/styles/material-dark-lite.css +0 -3555
- package/styles/material-dark-lite.scss +0 -21
- package/styles/material-dark.css +0 -5028
- package/styles/material-dark.scss +0 -26
- package/styles/material-lite.css +0 -3565
- package/styles/material-lite.scss +0 -21
- package/styles/material.css +0 -5065
- package/styles/material.scss +0 -26
- package/styles/material3-dark-lite.css +0 -3990
- package/styles/material3-dark-lite.scss +0 -21
- package/styles/material3-dark.css +0 -5391
- package/styles/material3-dark.scss +0 -26
- package/styles/material3-lite.css +0 -3993
- package/styles/material3-lite.scss +0 -21
- package/styles/material3.css +0 -5394
- package/styles/material3.scss +0 -26
- 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/_variables.scss +0 -2
- package/styles/mention/bds.css +0 -8
- package/styles/mention/bds.scss +0 -2
- package/styles/mention/bootstrap-dark.css +0 -3
- package/styles/mention/bootstrap-dark.scss +0 -2
- package/styles/mention/bootstrap.css +0 -3
- package/styles/mention/bootstrap.scss +0 -2
- package/styles/mention/bootstrap4.css +0 -3
- package/styles/mention/bootstrap4.scss +0 -2
- package/styles/mention/bootstrap5-dark.css +0 -3
- package/styles/mention/bootstrap5-dark.scss +0 -2
- package/styles/mention/bootstrap5.3.css +0 -88
- package/styles/mention/bootstrap5.3.scss +0 -2
- package/styles/mention/bootstrap5.css +0 -4
- package/styles/mention/bootstrap5.scss +0 -2
- package/styles/mention/fabric-dark.css +0 -3
- package/styles/mention/fabric-dark.scss +0 -2
- package/styles/mention/fabric.css +0 -3
- package/styles/mention/fabric.scss +0 -2
- package/styles/mention/fluent-dark.css +0 -3
- package/styles/mention/fluent-dark.scss +0 -2
- package/styles/mention/fluent.css +0 -4
- package/styles/mention/fluent.scss +0 -2
- package/styles/mention/fluent2.css +0 -90
- package/styles/mention/fluent2.scss +0 -2
- package/styles/mention/highcontrast-light.css +0 -3
- package/styles/mention/highcontrast-light.scss +0 -2
- package/styles/mention/highcontrast.css +0 -3
- package/styles/mention/highcontrast.scss +0 -2
- package/styles/mention/material-dark.css +0 -3
- package/styles/mention/material-dark.scss +0 -2
- package/styles/mention/material.css +0 -3
- package/styles/mention/material.scss +0 -2
- package/styles/mention/material3-dark.css +0 -85
- package/styles/mention/material3-dark.scss +0 -2
- package/styles/mention/material3.css +0 -88
- package/styles/mention/material3.scss +0 -2
- package/styles/mention/tailwind-dark.css +0 -3
- package/styles/mention/tailwind-dark.scss +0 -2
- package/styles/mention/tailwind.css +0 -4
- package/styles/mention/tailwind.scss +0 -2
- package/styles/mention/tailwind3.css +0 -78
- package/styles/mention/tailwind3.scss +0 -2
- package/styles/multi-select/_all.scss +0 -2
- package/styles/multi-select/_bds-definition.scss +0 -309
- package/styles/multi-select/_bigger.scss +0 -1578
- package/styles/multi-select/_bootstrap-dark-definition.scss +0 -276
- package/styles/multi-select/_bootstrap-definition.scss +0 -265
- package/styles/multi-select/_bootstrap4-definition.scss +0 -313
- package/styles/multi-select/_bootstrap5-dark-definition.scss +0 -313
- package/styles/multi-select/_bootstrap5-definition.scss +0 -313
- package/styles/multi-select/_bootstrap5.3-definition.scss +0 -312
- package/styles/multi-select/_fabric-dark-definition.scss +0 -268
- package/styles/multi-select/_fabric-definition.scss +0 -259
- package/styles/multi-select/_fluent-dark-definition.scss +0 -314
- package/styles/multi-select/_fluent-definition.scss +0 -314
- package/styles/multi-select/_fluent2-definition.scss +0 -423
- package/styles/multi-select/_fusionnew-definition.scss +0 -300
- package/styles/multi-select/_highcontrast-definition.scss +0 -383
- package/styles/multi-select/_highcontrast-light-definition.scss +0 -377
- package/styles/multi-select/_layout.scss +0 -1337
- package/styles/multi-select/_material-dark-definition.scss +0 -380
- package/styles/multi-select/_material-definition.scss +0 -380
- package/styles/multi-select/_material3-dark-definition.scss +0 -651
- package/styles/multi-select/_material3-definition.scss +0 -651
- package/styles/multi-select/_tailwind-dark-definition.scss +0 -309
- package/styles/multi-select/_tailwind-definition.scss +0 -309
- package/styles/multi-select/_tailwind3-definition.scss +0 -305
- package/styles/multi-select/_theme.scss +0 -566
- package/styles/multi-select/_variables.scss +0 -2
- package/styles/multi-select/bds.css +0 -1360
- package/styles/multi-select/bds.scss +0 -4
- package/styles/multi-select/bootstrap-dark.css +0 -1336
- package/styles/multi-select/bootstrap-dark.scss +0 -4
- package/styles/multi-select/bootstrap.css +0 -1324
- package/styles/multi-select/bootstrap.scss +0 -4
- package/styles/multi-select/bootstrap4.css +0 -1466
- package/styles/multi-select/bootstrap4.scss +0 -4
- package/styles/multi-select/bootstrap5-dark.css +0 -1383
- package/styles/multi-select/bootstrap5-dark.scss +0 -4
- package/styles/multi-select/bootstrap5.3.css +0 -1467
- package/styles/multi-select/bootstrap5.3.scss +0 -4
- package/styles/multi-select/bootstrap5.css +0 -1383
- package/styles/multi-select/bootstrap5.scss +0 -4
- package/styles/multi-select/fabric-dark.css +0 -1339
- package/styles/multi-select/fabric-dark.scss +0 -4
- package/styles/multi-select/fabric.css +0 -1329
- package/styles/multi-select/fabric.scss +0 -4
- package/styles/multi-select/fluent-dark.css +0 -1427
- package/styles/multi-select/fluent-dark.scss +0 -4
- package/styles/multi-select/fluent.css +0 -1427
- package/styles/multi-select/fluent.scss +0 -4
- package/styles/multi-select/fluent2.css +0 -1533
- package/styles/multi-select/fluent2.scss +0 -4
- package/styles/multi-select/highcontrast-light.css +0 -1437
- package/styles/multi-select/highcontrast-light.scss +0 -4
- package/styles/multi-select/highcontrast.css +0 -1453
- package/styles/multi-select/highcontrast.scss +0 -4
- package/styles/multi-select/icons/_bds.scss +0 -27
- package/styles/multi-select/icons/_bootstrap-dark.scss +0 -31
- package/styles/multi-select/icons/_bootstrap.scss +0 -31
- package/styles/multi-select/icons/_bootstrap4.scss +0 -34
- package/styles/multi-select/icons/_bootstrap5-dark.scss +0 -1
- package/styles/multi-select/icons/_bootstrap5.3.scss +0 -32
- package/styles/multi-select/icons/_bootstrap5.scss +0 -32
- package/styles/multi-select/icons/_fabric-dark.scss +0 -32
- package/styles/multi-select/icons/_fabric.scss +0 -32
- package/styles/multi-select/icons/_fluent-dark.scss +0 -1
- package/styles/multi-select/icons/_fluent.scss +0 -40
- package/styles/multi-select/icons/_fluent2.scss +0 -349
- package/styles/multi-select/icons/_fusionnew.scss +0 -28
- package/styles/multi-select/icons/_highcontrast-light.scss +0 -28
- package/styles/multi-select/icons/_highcontrast.scss +0 -32
- package/styles/multi-select/icons/_material-dark.scss +0 -350
- package/styles/multi-select/icons/_material.scss +0 -350
- package/styles/multi-select/icons/_material3-dark.scss +0 -1
- package/styles/multi-select/icons/_material3.scss +0 -352
- package/styles/multi-select/icons/_tailwind-dark.scss +0 -1
- package/styles/multi-select/icons/_tailwind.scss +0 -32
- package/styles/multi-select/icons/_tailwind3.scss +0 -28
- package/styles/multi-select/material-dark.css +0 -2541
- package/styles/multi-select/material-dark.scss +0 -4
- package/styles/multi-select/material.css +0 -2545
- package/styles/multi-select/material.scss +0 -4
- package/styles/multi-select/material3-dark.css +0 -2960
- package/styles/multi-select/material3-dark.scss +0 -4
- package/styles/multi-select/material3.css +0 -2962
- package/styles/multi-select/material3.scss +0 -4
- package/styles/multi-select/tailwind-dark.css +0 -1360
- package/styles/multi-select/tailwind-dark.scss +0 -4
- package/styles/multi-select/tailwind.css +0 -1360
- package/styles/multi-select/tailwind.scss +0 -4
- package/styles/multi-select/tailwind3.css +0 -1397
- package/styles/multi-select/tailwind3.scss +0 -4
- package/styles/tailwind-dark-lite.css +0 -2858
- package/styles/tailwind-dark-lite.scss +0 -21
- package/styles/tailwind-dark.css +0 -3710
- package/styles/tailwind-dark.scss +0 -26
- package/styles/tailwind-lite.css +0 -2859
- package/styles/tailwind-lite.scss +0 -21
- package/styles/tailwind.css +0 -3711
- package/styles/tailwind.scss +0 -26
- package/styles/tailwind3-lite.css +0 -2971
- package/styles/tailwind3-lite.scss +0 -21
- package/styles/tailwind3.css +0 -3647
- package/styles/tailwind3.scss +0 -26
|
@@ -69,6 +69,7 @@ var FILTERPARENT = 'e-filter-parent';
|
|
|
69
69
|
var CUSTOM_WIDTH = 'e-search-custom-width';
|
|
70
70
|
var FILTERINPUT = 'e-input-filter';
|
|
71
71
|
var RESIZE_ICON = 'e-resizer-right e-icons';
|
|
72
|
+
var SUMMARY_TAG_VIEW = 'e-delim-summary';
|
|
72
73
|
/**
|
|
73
74
|
* The Multiselect allows the user to pick a more than one value from list of predefined values.
|
|
74
75
|
* ```html
|
|
@@ -98,6 +99,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
98
99
|
*/
|
|
99
100
|
function MultiSelect(option, element) {
|
|
100
101
|
var _this = _super.call(this, option, element) || this;
|
|
102
|
+
_this.wasSelectAllActive = false;
|
|
101
103
|
_this.clearIconWidth = 0;
|
|
102
104
|
_this.previousFilterText = '';
|
|
103
105
|
_this.storedSelectAllHeight = 0;
|
|
@@ -107,6 +109,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
107
109
|
_this.isFilterPrevented = false;
|
|
108
110
|
_this.isFilteringAction = false;
|
|
109
111
|
_this.isPropertyChanged = false;
|
|
112
|
+
_this.uncheckedValues = [];
|
|
110
113
|
_this.isValidKey = false;
|
|
111
114
|
_this.selectAllEventData = [];
|
|
112
115
|
_this.selectAllEventEle = [];
|
|
@@ -554,6 +557,9 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
554
557
|
(this.dataSource instanceof DataManager && this.totalItemCount !== 0 && this.totalItemCount > (this.itemCount * 2))
|
|
555
558
|
? (startindex + this.viewPortInfo.endIndex)
|
|
556
559
|
: (valuecheck.length);
|
|
560
|
+
if (this.value && this.value.length > this.getSummaryTagThreshold()) {
|
|
561
|
+
endindex = this.viewPortInfo.endIndex;
|
|
562
|
+
}
|
|
557
563
|
// Build predicates in batches to prevent stack overflow
|
|
558
564
|
var predicateBatches = [];
|
|
559
565
|
for (var batchStart = startindex; batchStart < endindex; batchStart += BATCH_SIZE) {
|
|
@@ -905,6 +911,56 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
905
911
|
this.checkSelectAll();
|
|
906
912
|
this.checkMaxSelection();
|
|
907
913
|
};
|
|
914
|
+
MultiSelect.prototype.extendSelectionToNewItems = function () {
|
|
915
|
+
if (!this.list) {
|
|
916
|
+
return;
|
|
917
|
+
}
|
|
918
|
+
var unselected = this.list.querySelectorAll('li.' + dropDownBaseClasses.li + ':not(.e-active):not(.e-disabled):not(.e-reorder-hide)');
|
|
919
|
+
if (!unselected || unselected.length === 0) {
|
|
920
|
+
this.notify('checkSelectAll', {
|
|
921
|
+
module: 'CheckBoxSelection',
|
|
922
|
+
enable: this.mode === 'CheckBox',
|
|
923
|
+
value: 'check'
|
|
924
|
+
});
|
|
925
|
+
return;
|
|
926
|
+
}
|
|
927
|
+
if (!this.value) {
|
|
928
|
+
this.value = [];
|
|
929
|
+
}
|
|
930
|
+
var currentValues = this.value;
|
|
931
|
+
var seen = {};
|
|
932
|
+
for (var i = 0; i < currentValues.length; i++) {
|
|
933
|
+
seen[String(currentValues[i])] = true;
|
|
934
|
+
}
|
|
935
|
+
var newValues = currentValues.slice();
|
|
936
|
+
var changed = false;
|
|
937
|
+
for (var i = 0; i < unselected.length; i++) {
|
|
938
|
+
var li = unselected[i];
|
|
939
|
+
var rawValue = li.getAttribute('data-value');
|
|
940
|
+
if (rawValue === null || seen[rawValue]) {
|
|
941
|
+
continue;
|
|
942
|
+
}
|
|
943
|
+
var formatted = this.getFormattedValue(rawValue);
|
|
944
|
+
newValues.push(formatted);
|
|
945
|
+
seen[rawValue] = true;
|
|
946
|
+
changed = true;
|
|
947
|
+
this.addListSelection(li);
|
|
948
|
+
}
|
|
949
|
+
if (changed) {
|
|
950
|
+
this.setProperties({ value: newValues }, true);
|
|
951
|
+
this.updateHiddenElement();
|
|
952
|
+
if (this.chipCollectionWrapper) {
|
|
953
|
+
this.removeChipSelection();
|
|
954
|
+
}
|
|
955
|
+
this.updateDelimView();
|
|
956
|
+
this.checkPlaceholderSize();
|
|
957
|
+
}
|
|
958
|
+
this.notify('checkSelectAll', {
|
|
959
|
+
module: 'CheckBoxSelection',
|
|
960
|
+
enable: this.mode === 'CheckBox',
|
|
961
|
+
value: 'check'
|
|
962
|
+
});
|
|
963
|
+
};
|
|
908
964
|
MultiSelect.prototype.hideGroupItem = function (value) {
|
|
909
965
|
var element;
|
|
910
966
|
var element1;
|
|
@@ -2437,7 +2493,8 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2437
2493
|
else {
|
|
2438
2494
|
var listUl = this.list && this.list.querySelector('ul');
|
|
2439
2495
|
var isFullList = this.isReact && this.itemTemplate && listUl != null &&
|
|
2440
|
-
listUl.querySelectorAll('.e-list-item').length === this.mainData.length && !this.groupTemplate &&
|
|
2496
|
+
listUl.querySelectorAll('.e-list-item').length === this.mainData.length && !this.groupTemplate &&
|
|
2497
|
+
this.mode !== 'CheckBox';
|
|
2441
2498
|
this.onActionComplete(isFullList ? listUl : list, this.mainData);
|
|
2442
2499
|
}
|
|
2443
2500
|
this.focusAtLastListItem(data);
|
|
@@ -2831,6 +2888,10 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2831
2888
|
});
|
|
2832
2889
|
}
|
|
2833
2890
|
};
|
|
2891
|
+
MultiSelect.prototype.isDimColumnWithCustomStyle = function () {
|
|
2892
|
+
return this.overAllWrapper.classList.contains('b-dbrd-dim-column-ms') &&
|
|
2893
|
+
this.overAllWrapper.classList.contains('e-dbrd-cstyle');
|
|
2894
|
+
};
|
|
2834
2895
|
MultiSelect.prototype.removeValue = function (value, eve, length, isClearAll) {
|
|
2835
2896
|
var _this = this;
|
|
2836
2897
|
var index = this.allowObjectBinding ? this.indexOfObjectInArray(value, this.value) :
|
|
@@ -2865,6 +2926,38 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2865
2926
|
_this.currentRemoveValue = _this.allowObjectBinding ? getValue(((_this.fields.value) ?
|
|
2866
2927
|
_this.fields.value : ''), value) : value;
|
|
2867
2928
|
_this.virtualSelectAll = false;
|
|
2929
|
+
if (_this.mode === 'CheckBox' && _this.enableVirtualization && _this.value.length > _this.getSummaryTagThreshold()
|
|
2930
|
+
&& !isNullOrUndefined(_this.dataSource) && (!_this.isDimColumnWithCustomStyle())) {
|
|
2931
|
+
var valueField_1 = _this.fields && _this.fields.value ? _this.fields.value : 'value';
|
|
2932
|
+
var dataSourceArray = _this.dataSource;
|
|
2933
|
+
var fullItem = void 0;
|
|
2934
|
+
var dataSourceIndex = -1;
|
|
2935
|
+
for (var i = 0; i < dataSourceArray.length; i++) {
|
|
2936
|
+
var item = dataSourceArray[i];
|
|
2937
|
+
if (getValue(valueField_1, item) === _this.currentRemoveValue) {
|
|
2938
|
+
fullItem = item;
|
|
2939
|
+
dataSourceIndex = i;
|
|
2940
|
+
break;
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
if (fullItem && dataSourceIndex !== -1) {
|
|
2944
|
+
var unchecked = _this.uncheckedValues;
|
|
2945
|
+
_this.uncheckedValues = unchecked.concat([fullItem]);
|
|
2946
|
+
var indexMap_1 = {};
|
|
2947
|
+
for (var j = 0; j < dataSourceArray.length; j++) {
|
|
2948
|
+
var mapItem = dataSourceArray[j];
|
|
2949
|
+
indexMap_1[getValue(valueField_1, mapItem)] = j;
|
|
2950
|
+
}
|
|
2951
|
+
_this.uncheckedValues.sort(function (a, b) {
|
|
2952
|
+
var aIdx = indexMap_1[getValue(valueField_1, a)];
|
|
2953
|
+
var bIdx = indexMap_1[getValue(valueField_1, b)];
|
|
2954
|
+
if (aIdx === bIdx) {
|
|
2955
|
+
return 0;
|
|
2956
|
+
}
|
|
2957
|
+
return aIdx - bIdx;
|
|
2958
|
+
});
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2868
2961
|
var removeVal = _this.value.slice(0);
|
|
2869
2962
|
removeVal.splice(index, 1);
|
|
2870
2963
|
if (_this.enableVirtualization && _this.selectedListData) {
|
|
@@ -4329,7 +4422,8 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
4329
4422
|
else if ((isNullOrUndefined(text) && !this.allowCustomValue) &&
|
|
4330
4423
|
((!(this.dataSource instanceof DataManager)) ||
|
|
4331
4424
|
(this.dataSource instanceof DataManager && isInitialVirtualData)) && (!this.isAngular || !isInitialRender ||
|
|
4332
|
-
(isNullOrUndefined(formElement) && listItems && listItems.length > 0))
|
|
4425
|
+
(isNullOrUndefined(formElement) && listItems && listItems.length > 0))
|
|
4426
|
+
&& !(this.mode === 'CheckBox' && this.enableVirtualization && this.value.length > this.getSummaryTagThreshold())) {
|
|
4333
4427
|
this.value.splice(index, 1);
|
|
4334
4428
|
index -= 1;
|
|
4335
4429
|
}
|
|
@@ -5005,6 +5099,53 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5005
5099
|
wrapperType.innerText = wrapperData;
|
|
5006
5100
|
}
|
|
5007
5101
|
};
|
|
5102
|
+
MultiSelect.prototype.getSummaryTagThreshold = function () {
|
|
5103
|
+
return this.summaryTagCount && this.summaryTagCount > 0 ? this.summaryTagCount : 1000;
|
|
5104
|
+
};
|
|
5105
|
+
MultiSelect.prototype.getSummaryTagText = function () {
|
|
5106
|
+
var selectedCount = this.value ? this.value.length : 0;
|
|
5107
|
+
var totalCount = this.totalItemCount ? this.totalItemCount : 0;
|
|
5108
|
+
if (this.summaryTagTemplate && typeof this.summaryTagTemplate === 'string') {
|
|
5109
|
+
var template = this.summaryTagTemplate;
|
|
5110
|
+
if (this.mode === 'CheckBox') {
|
|
5111
|
+
template = template.replace(/<[^>]+>/g, '');
|
|
5112
|
+
}
|
|
5113
|
+
if (this.viewWrapper) {
|
|
5114
|
+
this.viewWrapper.classList.add(SUMMARY_TAG_VIEW);
|
|
5115
|
+
this.applySummaryTagWidth();
|
|
5116
|
+
}
|
|
5117
|
+
return template
|
|
5118
|
+
.replace(/\$\{selectedCount\}/g, selectedCount.toString())
|
|
5119
|
+
.replace(/\$\{totalCount\}/g, totalCount.toString());
|
|
5120
|
+
}
|
|
5121
|
+
var l10nLocale = { summaryTagTemplate: '${selectedCount} items selected' };
|
|
5122
|
+
var summaryTagTemplate = this.l10n ? this.l10n.getConstant('summaryTagTemplate') :
|
|
5123
|
+
new L10n(this.getLocaleName(), l10nLocale, this.locale).getConstant('summaryTagTemplate');
|
|
5124
|
+
return summaryTagTemplate.replace(/\$\{selectedCount\}/g, selectedCount.toString());
|
|
5125
|
+
};
|
|
5126
|
+
MultiSelect.prototype.applySummaryTagWidth = function () {
|
|
5127
|
+
if (!this.viewWrapper || !this.componentWrapper) {
|
|
5128
|
+
return;
|
|
5129
|
+
}
|
|
5130
|
+
var componentStyle = window.getComputedStyle(this.componentWrapper);
|
|
5131
|
+
var componentWidth = this.componentWrapper.clientWidth;
|
|
5132
|
+
var horizontalPadding = (parseFloat(componentStyle.paddingLeft) || 0) +
|
|
5133
|
+
(parseFloat(componentStyle.paddingRight) || 0);
|
|
5134
|
+
var available = componentWidth - horizontalPadding;
|
|
5135
|
+
var rightIcons = 0;
|
|
5136
|
+
if (this.showClearButton && this.overAllClear) {
|
|
5137
|
+
var display = this.overAllClear.style.display;
|
|
5138
|
+
this.overAllClear.style.display = 'block';
|
|
5139
|
+
rightIcons += this.overAllClear.offsetWidth;
|
|
5140
|
+
this.overAllClear.style.display = display;
|
|
5141
|
+
}
|
|
5142
|
+
if (this.showDropDownIcon && this.dropIcon) {
|
|
5143
|
+
var dropStyle = window.getComputedStyle(this.dropIcon);
|
|
5144
|
+
rightIcons += this.dropIcon.offsetWidth + (parseFloat(dropStyle.marginRight) || 0);
|
|
5145
|
+
}
|
|
5146
|
+
var maxWidth = Math.max(0, available - rightIcons - 8);
|
|
5147
|
+
this.viewWrapper.style.width = maxWidth + 'px';
|
|
5148
|
+
};
|
|
5008
5149
|
MultiSelect.prototype.updateDelimView = function () {
|
|
5009
5150
|
if (this.delimiterWrapper) {
|
|
5010
5151
|
this.hideDelimWrapper();
|
|
@@ -5018,6 +5159,17 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5018
5159
|
this.viewWrapper.classList.remove(TOTAL_COUNT_WRAPPER);
|
|
5019
5160
|
}
|
|
5020
5161
|
if (this.value && this.value.length) {
|
|
5162
|
+
if (this.mode === 'CheckBox' && this.value.length > this.getSummaryTagThreshold()) {
|
|
5163
|
+
var summaryText = this.getSummaryTagText();
|
|
5164
|
+
this.updateWrapperText(this.viewWrapper, summaryText);
|
|
5165
|
+
if (this.isSelectAllClicked) {
|
|
5166
|
+
this.showOverAllClear();
|
|
5167
|
+
}
|
|
5168
|
+
return;
|
|
5169
|
+
}
|
|
5170
|
+
else if (this.mode === 'CheckBox' && this.viewWrapper) {
|
|
5171
|
+
this.viewWrapper.classList.remove(SUMMARY_TAG_VIEW);
|
|
5172
|
+
}
|
|
5021
5173
|
var data = '';
|
|
5022
5174
|
var temp = void 0;
|
|
5023
5175
|
var tempData = void 0;
|
|
@@ -5506,102 +5658,227 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5506
5658
|
}
|
|
5507
5659
|
else {
|
|
5508
5660
|
if (this.virtualSelectAllData && this.virtualSelectAllData.length > 0) {
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
if (inputEl_2) {
|
|
5529
|
-
inputEl_2.setAttribute('readonly', 'true');
|
|
5530
|
-
}
|
|
5531
|
-
this.filterParent.style.cursor = 'progress';
|
|
5532
|
-
[contentEl_2, selectAllEl_2].forEach(function (el) {
|
|
5533
|
-
if (!el) {
|
|
5534
|
-
return;
|
|
5535
|
-
}
|
|
5536
|
-
el.style.pointerEvents = 'none';
|
|
5537
|
-
el.style.userSelect = 'none';
|
|
5538
|
-
el.style.touchAction = 'none';
|
|
5539
|
-
if (el === contentEl_2) {
|
|
5540
|
-
el.style.overflow = 'hidden';
|
|
5661
|
+
if (this.mode === 'CheckBox' && this.enableVirtualization && this.virtualSelectAllData.length > this.getSummaryTagThreshold()) {
|
|
5662
|
+
this.isProcessingVirtualSelectAll = true;
|
|
5663
|
+
createSpinner({ target: this.filterParent, width: Browser.isDevice ? '16px' : '14px' }, this.createElement);
|
|
5664
|
+
showSpinner(this.filterParent);
|
|
5665
|
+
this.preventKeyboardInteraction = true;
|
|
5666
|
+
var contentEl_2 = null;
|
|
5667
|
+
var selectAllEl_2 = null;
|
|
5668
|
+
var inputEl_2 = null;
|
|
5669
|
+
if (this.popupObj && this.popupObj.element && this.filterParent) {
|
|
5670
|
+
contentEl_2 = this.popupObj.element.querySelector('.e-content');
|
|
5671
|
+
selectAllEl_2 = this.popupObj.element.querySelector('.e-selectall-parent');
|
|
5672
|
+
inputEl_2 = this.filterParent.querySelector('.e-input');
|
|
5673
|
+
[contentEl_2, selectAllEl_2, this.filterParent].forEach(function (el) {
|
|
5674
|
+
if (el) {
|
|
5675
|
+
el.style.opacity = '0.5';
|
|
5676
|
+
}
|
|
5677
|
+
});
|
|
5678
|
+
if (inputEl_2) {
|
|
5679
|
+
inputEl_2.setAttribute('readonly', 'true');
|
|
5541
5680
|
}
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
if (currentIndex_1 < dataArray_1.length) {
|
|
5555
|
-
requestAnimationFrame(processBatch_1);
|
|
5681
|
+
this.filterParent.style.cursor = 'progress';
|
|
5682
|
+
[contentEl_2, selectAllEl_2].forEach(function (el) {
|
|
5683
|
+
if (!el) {
|
|
5684
|
+
return;
|
|
5685
|
+
}
|
|
5686
|
+
el.style.pointerEvents = 'none';
|
|
5687
|
+
el.style.userSelect = 'none';
|
|
5688
|
+
el.style.touchAction = 'none';
|
|
5689
|
+
if (el === contentEl_2) {
|
|
5690
|
+
el.style.overflow = 'hidden';
|
|
5691
|
+
}
|
|
5692
|
+
});
|
|
5556
5693
|
}
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5694
|
+
setTimeout(function () {
|
|
5695
|
+
requestAnimationFrame(function () {
|
|
5696
|
+
_this.virtualSelectAll = false;
|
|
5697
|
+
_this.selectedListData = [];
|
|
5698
|
+
if (_this.chipCollectionWrapper) {
|
|
5699
|
+
_this.chipCollectionWrapper.innerHTML = '';
|
|
5700
|
+
}
|
|
5701
|
+
if (_this.list) {
|
|
5702
|
+
var selectedItems = _this.list.querySelectorAll('li.' + dropDownBaseClasses.li + '.e-active');
|
|
5703
|
+
removeClass(selectedItems, 'e-active');
|
|
5704
|
+
var checkedItems = _this.list.querySelectorAll('li.' + dropDownBaseClasses.li + '[aria-selected="true"]');
|
|
5705
|
+
checkedItems.forEach(function (el) { return el.setAttribute('aria-selected', 'false'); });
|
|
5706
|
+
}
|
|
5707
|
+
if (_this.mainList) {
|
|
5708
|
+
var mainSelected = _this.mainList.querySelectorAll('li.' + dropDownBaseClasses.li + '.e-active');
|
|
5709
|
+
removeClass(mainSelected, 'e-active');
|
|
5710
|
+
var mainChecked = _this.mainList.querySelectorAll('li.' + dropDownBaseClasses.li + '[aria-selected="true"]');
|
|
5711
|
+
mainChecked.forEach(function (el) { return el.setAttribute('aria-selected', 'false'); });
|
|
5712
|
+
}
|
|
5713
|
+
if (_this.list) {
|
|
5714
|
+
var disabledItems = _this.list.querySelectorAll('li.' + dropDownBaseClasses.li + '.e-disable');
|
|
5715
|
+
removeClass(disabledItems, 'e-disable');
|
|
5716
|
+
}
|
|
5717
|
+
if (_this.mainList) {
|
|
5718
|
+
var mainDisabled = _this.mainList.querySelectorAll('li.' + dropDownBaseClasses.li + '.e-disable');
|
|
5719
|
+
removeClass(mainDisabled, 'e-disable');
|
|
5720
|
+
}
|
|
5721
|
+
_this.setProperties({ value: [] }, true);
|
|
5722
|
+
_this.setProperties({ text: '' }, true);
|
|
5723
|
+
_this.tempValues = null;
|
|
5724
|
+
_this.notify('checkSelectAll', {
|
|
5725
|
+
module: 'CheckBoxSelection',
|
|
5726
|
+
enable: _this.mode === 'CheckBox',
|
|
5727
|
+
value: 'uncheck'
|
|
5567
5728
|
});
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5729
|
+
var selectedAllArgs = {
|
|
5730
|
+
event: event,
|
|
5731
|
+
items: [],
|
|
5732
|
+
itemData: [],
|
|
5733
|
+
isInteracted: event ? true : false,
|
|
5734
|
+
isChecked: false
|
|
5735
|
+
};
|
|
5736
|
+
_this.trigger('selectedAll', selectedAllArgs);
|
|
5737
|
+
if (_this.changeOnBlur) {
|
|
5738
|
+
_this.updateValueState(event, _this.value, _this.tempValues);
|
|
5739
|
+
_this.dispatchEvent(_this.hiddenElement, 'change');
|
|
5573
5740
|
}
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
selectAllEl_2.style.touchAction = 'auto';
|
|
5741
|
+
else {
|
|
5742
|
+
_this.updateValueState(event, _this.value, _this.tempValues);
|
|
5743
|
+
_this.isSelectAll = _this.isSelectAll ? !_this.isSelectAll : _this.isSelectAll;
|
|
5578
5744
|
}
|
|
5579
|
-
|
|
5580
|
-
|
|
5745
|
+
_this.updateHiddenElement();
|
|
5746
|
+
_this.refreshInputHight();
|
|
5747
|
+
_this.refreshPlaceHolder();
|
|
5748
|
+
_this.updateDelimView();
|
|
5749
|
+
_this.hideOverAllClear();
|
|
5750
|
+
_this.isProcessingVirtualSelectAll = false;
|
|
5751
|
+
_this.preventKeyboardInteraction = false;
|
|
5752
|
+
hideSpinner(_this.filterParent);
|
|
5753
|
+
if (_this.popupObj && _this.filterParent) {
|
|
5754
|
+
[contentEl_2, selectAllEl_2, _this.filterParent].forEach(function (el) {
|
|
5755
|
+
if (el) {
|
|
5756
|
+
el.style.opacity = '';
|
|
5757
|
+
}
|
|
5758
|
+
});
|
|
5759
|
+
if (contentEl_2) {
|
|
5760
|
+
contentEl_2.style.pointerEvents = 'auto';
|
|
5761
|
+
contentEl_2.style.userSelect = 'auto';
|
|
5762
|
+
contentEl_2.style.touchAction = 'auto';
|
|
5763
|
+
contentEl_2.style.overflow = 'auto';
|
|
5764
|
+
}
|
|
5765
|
+
if (selectAllEl_2) {
|
|
5766
|
+
selectAllEl_2.style.pointerEvents = 'auto';
|
|
5767
|
+
selectAllEl_2.style.userSelect = 'auto';
|
|
5768
|
+
selectAllEl_2.style.touchAction = 'auto';
|
|
5769
|
+
}
|
|
5770
|
+
if (inputEl_2) {
|
|
5771
|
+
inputEl_2.removeAttribute('readonly');
|
|
5772
|
+
}
|
|
5773
|
+
_this.filterParent.style.cursor = '';
|
|
5581
5774
|
}
|
|
5582
|
-
_this.
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5775
|
+
if (!isNullOrUndefined(_this.viewPortInfo.startIndex) && !isNullOrUndefined(_this.viewPortInfo.endIndex)) {
|
|
5776
|
+
_this.notify('setCurrentViewDataAsync', {
|
|
5777
|
+
component: _this.getModuleName(),
|
|
5778
|
+
module: 'VirtualScroll'
|
|
5779
|
+
});
|
|
5780
|
+
}
|
|
5781
|
+
});
|
|
5782
|
+
}, this.virtualSelectAllData.length / 10);
|
|
5783
|
+
}
|
|
5784
|
+
else {
|
|
5785
|
+
var dataArray_1 = this.virtualSelectAllData;
|
|
5786
|
+
var batchSize_1 = 500;
|
|
5787
|
+
var currentIndex_1 = 0;
|
|
5788
|
+
this.isProcessingVirtualSelectAll = true;
|
|
5789
|
+
createSpinner({ target: this.filterParent, width: Browser.isDevice ? '16px' : '14px' }, this.createElement);
|
|
5790
|
+
showSpinner(this.filterParent);
|
|
5791
|
+
this.preventKeyboardInteraction = true;
|
|
5792
|
+
var contentEl_3 = null;
|
|
5793
|
+
var selectAllEl_3 = null;
|
|
5794
|
+
var inputEl_3 = null;
|
|
5795
|
+
if (this.popupObj && this.popupObj.element && this.filterParent) {
|
|
5796
|
+
contentEl_3 = this.popupObj.element.querySelector('.e-content');
|
|
5797
|
+
selectAllEl_3 = this.popupObj.element.querySelector('.e-selectall-parent');
|
|
5798
|
+
inputEl_3 = this.filterParent.querySelector('.e-input');
|
|
5799
|
+
[contentEl_3, selectAllEl_3, this.filterParent].forEach(function (el) {
|
|
5800
|
+
if (el) {
|
|
5801
|
+
el.style.opacity = '0.5';
|
|
5802
|
+
}
|
|
5803
|
+
});
|
|
5804
|
+
if (inputEl_3) {
|
|
5805
|
+
inputEl_3.setAttribute('readonly', 'true');
|
|
5586
5806
|
}
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5807
|
+
this.filterParent.style.cursor = 'progress';
|
|
5808
|
+
[contentEl_3, selectAllEl_3].forEach(function (el) {
|
|
5809
|
+
if (!el) {
|
|
5810
|
+
return;
|
|
5811
|
+
}
|
|
5812
|
+
el.style.pointerEvents = 'none';
|
|
5813
|
+
el.style.userSelect = 'none';
|
|
5814
|
+
el.style.touchAction = 'none';
|
|
5815
|
+
if (el === contentEl_3) {
|
|
5816
|
+
el.style.overflow = 'hidden';
|
|
5817
|
+
}
|
|
5818
|
+
});
|
|
5819
|
+
}
|
|
5820
|
+
var processBatch_1 = function () {
|
|
5821
|
+
var endIndex = Math.min(currentIndex_1 + batchSize_1, dataArray_1.length);
|
|
5822
|
+
var batch = dataArray_1.slice(currentIndex_1, endIndex);
|
|
5823
|
+
// Use map on the batch
|
|
5824
|
+
batch.map(function (obj) {
|
|
5825
|
+
_this.virtualSelectAll = true;
|
|
5826
|
+
// eslint-disable-next-line security/detect-object-injection
|
|
5827
|
+
_this.removeValue(_this.value[index], event, _this.value.length - index);
|
|
5828
|
+
});
|
|
5829
|
+
currentIndex_1 = endIndex;
|
|
5830
|
+
if (currentIndex_1 < dataArray_1.length) {
|
|
5831
|
+
requestAnimationFrame(processBatch_1);
|
|
5591
5832
|
}
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
_this.
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5833
|
+
else {
|
|
5834
|
+
// All batches completed
|
|
5835
|
+
_this.isProcessingVirtualSelectAll = false;
|
|
5836
|
+
_this.preventKeyboardInteraction = false;
|
|
5837
|
+
hideSpinner(_this.filterParent);
|
|
5838
|
+
if (_this.popupObj && _this.filterParent) {
|
|
5839
|
+
[contentEl_3, selectAllEl_3, _this.filterParent].forEach(function (el) {
|
|
5840
|
+
if (el) {
|
|
5841
|
+
el.style.opacity = '';
|
|
5842
|
+
}
|
|
5843
|
+
});
|
|
5844
|
+
if (contentEl_3) {
|
|
5845
|
+
contentEl_3.style.pointerEvents = 'auto';
|
|
5846
|
+
contentEl_3.style.userSelect = 'auto';
|
|
5847
|
+
contentEl_3.style.touchAction = 'auto';
|
|
5848
|
+
contentEl_3.style.overflow = 'auto';
|
|
5849
|
+
}
|
|
5850
|
+
if (selectAllEl_3) {
|
|
5851
|
+
selectAllEl_3.style.pointerEvents = 'auto';
|
|
5852
|
+
selectAllEl_3.style.userSelect = 'auto';
|
|
5853
|
+
selectAllEl_3.style.touchAction = 'auto';
|
|
5854
|
+
}
|
|
5855
|
+
if (inputEl_3) {
|
|
5856
|
+
inputEl_3.removeAttribute('readonly');
|
|
5857
|
+
}
|
|
5858
|
+
_this.filterParent.style.cursor = '';
|
|
5859
|
+
}
|
|
5860
|
+
if (!_this.isSelectAllClicked) {
|
|
5861
|
+
_this.showOverAllClear();
|
|
5862
|
+
}
|
|
5863
|
+
_this.updatedataValueItems(event);
|
|
5864
|
+
if (!_this.changeOnBlur) {
|
|
5865
|
+
_this.updateValueState(event, _this.value, _this.tempValues);
|
|
5866
|
+
_this.isSelectAll = _this.isSelectAll ? !_this.isSelectAll : _this.isSelectAll;
|
|
5867
|
+
}
|
|
5868
|
+
_this.updateHiddenElement();
|
|
5869
|
+
_this.setProperties({ value: [] }, true);
|
|
5870
|
+
_this.selectedListData = [];
|
|
5871
|
+
_this.virtualSelectAll = false;
|
|
5872
|
+
if (!isNullOrUndefined(_this.viewPortInfo.startIndex) && !isNullOrUndefined(_this.viewPortInfo.endIndex)) {
|
|
5873
|
+
_this.notify('setCurrentViewDataAsync', {
|
|
5874
|
+
component: _this.getModuleName(),
|
|
5875
|
+
module: 'VirtualScroll'
|
|
5876
|
+
});
|
|
5877
|
+
}
|
|
5601
5878
|
}
|
|
5602
|
-
}
|
|
5603
|
-
|
|
5604
|
-
|
|
5879
|
+
};
|
|
5880
|
+
processBatch_1();
|
|
5881
|
+
}
|
|
5605
5882
|
}
|
|
5606
5883
|
}
|
|
5607
5884
|
this.checkSelectAll();
|
|
@@ -5669,30 +5946,30 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5669
5946
|
createSpinner({ target: this.filterParent, width: Browser.isDevice ? '16px' : '14px' }, this.createElement);
|
|
5670
5947
|
showSpinner(this.filterParent);
|
|
5671
5948
|
this.preventKeyboardInteraction = true;
|
|
5672
|
-
var
|
|
5673
|
-
var
|
|
5674
|
-
var
|
|
5949
|
+
var contentEl_4 = null;
|
|
5950
|
+
var selectAllEl_4 = null;
|
|
5951
|
+
var inputEl_4 = null;
|
|
5675
5952
|
if (this.popupObj && this.popupObj.element && this.filterParent) {
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
[
|
|
5953
|
+
contentEl_4 = this.popupObj.element.querySelector('.e-content');
|
|
5954
|
+
selectAllEl_4 = this.popupObj.element.querySelector('.e-selectall-parent');
|
|
5955
|
+
inputEl_4 = this.filterParent.querySelector('.e-input');
|
|
5956
|
+
[contentEl_4, selectAllEl_4, this.filterParent].forEach(function (el) {
|
|
5680
5957
|
if (el) {
|
|
5681
5958
|
el.style.opacity = '0.5';
|
|
5682
5959
|
}
|
|
5683
5960
|
});
|
|
5684
|
-
if (
|
|
5685
|
-
|
|
5961
|
+
if (inputEl_4) {
|
|
5962
|
+
inputEl_4.setAttribute('readonly', 'true');
|
|
5686
5963
|
}
|
|
5687
5964
|
this.filterParent.style.cursor = 'progress';
|
|
5688
|
-
[
|
|
5965
|
+
[contentEl_4, selectAllEl_4].forEach(function (el) {
|
|
5689
5966
|
if (!el) {
|
|
5690
5967
|
return;
|
|
5691
5968
|
}
|
|
5692
5969
|
el.style.pointerEvents = 'none';
|
|
5693
5970
|
el.style.userSelect = 'none';
|
|
5694
5971
|
el.style.touchAction = 'none';
|
|
5695
|
-
if (el ===
|
|
5972
|
+
if (el === contentEl_4) {
|
|
5696
5973
|
el.style.overflow = 'hidden';
|
|
5697
5974
|
}
|
|
5698
5975
|
});
|
|
@@ -5724,24 +6001,24 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5724
6001
|
hideSpinner(this.filterParent);
|
|
5725
6002
|
this.preventKeyboardInteraction = false;
|
|
5726
6003
|
if (this.popupObj && this.filterParent) {
|
|
5727
|
-
[
|
|
6004
|
+
[contentEl_4, selectAllEl_4, this.filterParent].forEach(function (el) {
|
|
5728
6005
|
if (el) {
|
|
5729
6006
|
el.style.opacity = '';
|
|
5730
6007
|
}
|
|
5731
6008
|
});
|
|
5732
|
-
if (
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
6009
|
+
if (contentEl_4) {
|
|
6010
|
+
contentEl_4.style.pointerEvents = 'auto';
|
|
6011
|
+
contentEl_4.style.userSelect = 'auto';
|
|
6012
|
+
contentEl_4.style.touchAction = 'auto';
|
|
6013
|
+
contentEl_4.style.overflow = 'auto';
|
|
5737
6014
|
}
|
|
5738
|
-
if (
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
6015
|
+
if (selectAllEl_4) {
|
|
6016
|
+
selectAllEl_4.style.pointerEvents = 'auto';
|
|
6017
|
+
selectAllEl_4.style.userSelect = 'auto';
|
|
6018
|
+
selectAllEl_4.style.touchAction = 'auto';
|
|
5742
6019
|
}
|
|
5743
|
-
if (
|
|
5744
|
-
|
|
6020
|
+
if (inputEl_4) {
|
|
6021
|
+
inputEl_4.removeAttribute('readonly');
|
|
5745
6022
|
}
|
|
5746
6023
|
this.filterParent.style.cursor = '';
|
|
5747
6024
|
}
|
|
@@ -5819,8 +6096,15 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5819
6096
|
this.updateValueState(event, this.value, this.tempValues);
|
|
5820
6097
|
this.isSelectAll = this.isSelectAll ? !this.isSelectAll : this.isSelectAll;
|
|
5821
6098
|
}
|
|
5822
|
-
|
|
5823
|
-
this.
|
|
6099
|
+
var skipLegacyUpdateHidden = !state
|
|
6100
|
+
&& this.mode === 'CheckBox'
|
|
6101
|
+
&& this.enableVirtualization
|
|
6102
|
+
&& this.virtualSelectAllData
|
|
6103
|
+
&& this.virtualSelectAllData.length > this.getSummaryTagThreshold();
|
|
6104
|
+
if (!skipLegacyUpdateHidden) {
|
|
6105
|
+
if ((this.enableVirtualization && this.value && this.value.length > 0) || !this.enableVirtualization) {
|
|
6106
|
+
this.updateHiddenElement();
|
|
6107
|
+
}
|
|
5824
6108
|
}
|
|
5825
6109
|
}
|
|
5826
6110
|
};
|
|
@@ -5906,6 +6190,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5906
6190
|
MultiSelect.prototype.selectAllItems = function (state, event) {
|
|
5907
6191
|
var _this = this;
|
|
5908
6192
|
this.isSelectAllClicked = state;
|
|
6193
|
+
this.wasSelectAllActive = state;
|
|
5909
6194
|
if (isNullOrUndefined(this.list)) {
|
|
5910
6195
|
this.selectAllAction = function () {
|
|
5911
6196
|
if (_this.mode === 'CheckBox' && _this.showSelectAll) {
|
|
@@ -5973,11 +6258,21 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5973
6258
|
case 'dataSource':
|
|
5974
6259
|
this.sanitizeData();
|
|
5975
6260
|
if (this.mode === 'CheckBox' && this.showSelectAll) {
|
|
5976
|
-
if (!isNullOrUndefined(this.popupObj)) {
|
|
6261
|
+
if (!isNullOrUndefined(this.popupObj) && !this.isDimColumnWithCustomStyle()) {
|
|
5977
6262
|
this.popupObj.destroy();
|
|
5978
6263
|
this.popupObj = null;
|
|
5979
6264
|
}
|
|
5980
6265
|
this.renderPopup();
|
|
6266
|
+
if (this.isDimColumnWithCustomStyle() && this.isPopupOpen() && !isNullOrUndefined(this.popupObj) && this.list) {
|
|
6267
|
+
this.list.style.visibility = 'hidden';
|
|
6268
|
+
this.resetList(this.dataSource, this.fields, this.query);
|
|
6269
|
+
this.notify('selectAll', {});
|
|
6270
|
+
this.refreshSelection();
|
|
6271
|
+
if (this.wasSelectAllActive) {
|
|
6272
|
+
this.extendSelectionToNewItems();
|
|
6273
|
+
}
|
|
6274
|
+
this.list.style.visibility = '';
|
|
6275
|
+
}
|
|
5981
6276
|
}
|
|
5982
6277
|
break;
|
|
5983
6278
|
case 'htmlAttributes':
|
|
@@ -6091,6 +6386,12 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
6091
6386
|
break;
|
|
6092
6387
|
case 'enableSelectionOrder':
|
|
6093
6388
|
break;
|
|
6389
|
+
case 'summaryTagCount':
|
|
6390
|
+
case 'summaryTagTemplate':
|
|
6391
|
+
if (this.mode === 'CheckBox') {
|
|
6392
|
+
this.updateDelimView();
|
|
6393
|
+
}
|
|
6394
|
+
break;
|
|
6094
6395
|
case 'selectAllText':
|
|
6095
6396
|
this.notify('selectAllText', false);
|
|
6096
6397
|
break;
|
|
@@ -6496,9 +6797,8 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
6496
6797
|
var mainLiLength = _this.ulElement.querySelectorAll('li.' + 'e-list-item').length;
|
|
6497
6798
|
var liLength = _this.ulElement.querySelectorAll('li.'
|
|
6498
6799
|
+ dropDownBaseClasses.li + '.' + HIDE_LIST).length;
|
|
6499
|
-
var isFilterText = _this.allowFiltering && !isNullOrUndefined(_this.inputElement) &&
|
|
6500
|
-
_this.inputElement.value.trim() !== '';
|
|
6501
6800
|
var isRemoteData = _this.dataSource instanceof DataManager;
|
|
6801
|
+
var isFilterText = _this.allowFiltering && !isNullOrUndefined(_this.inputElement) && _this.inputElement.value.trim() !== '';
|
|
6502
6802
|
if (mainLiLength > 0 && (mainLiLength === liLength) && (liLength === _this.mainData.length) &&
|
|
6503
6803
|
!(_this.targetElement() !== '' && _this.allowCustomValue) && (!isRemoteData || !isFilterText)) {
|
|
6504
6804
|
_this.beforePopupOpen = false;
|
|
@@ -7013,6 +7313,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
7013
7313
|
if (this.value && this.value.length) {
|
|
7014
7314
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7015
7315
|
var listItems_3;
|
|
7316
|
+
var skipExpensiveQuery = this.mode === 'CheckBox' && this.enableVirtualization && this.value.length > this.getSummaryTagThreshold();
|
|
7016
7317
|
if (this.enableVirtualization) {
|
|
7017
7318
|
var fields = !this.isPrimitiveData ? this.fields.value : '';
|
|
7018
7319
|
var predicate = void 0;
|
|
@@ -7048,16 +7349,57 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
7048
7349
|
});
|
|
7049
7350
|
}
|
|
7050
7351
|
else {
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7352
|
+
if (!skipExpensiveQuery) {
|
|
7353
|
+
listItems_3 = this.executeLocalForLargeSelection(this.dataSource, this.value, {
|
|
7354
|
+
fields: this.fields,
|
|
7355
|
+
allowObjectBinding: this.allowObjectBinding,
|
|
7356
|
+
isPrimitiveData: this.isPrimitiveData
|
|
7357
|
+
});
|
|
7358
|
+
}
|
|
7056
7359
|
}
|
|
7057
7360
|
}
|
|
7058
7361
|
if (!(this.dataSource instanceof DataManager)) {
|
|
7059
|
-
|
|
7060
|
-
|
|
7362
|
+
if (skipExpensiveQuery && !listItems_3) {
|
|
7363
|
+
var ds = this.dataSource;
|
|
7364
|
+
var textMap = {};
|
|
7365
|
+
if (!this.isPrimitiveData) {
|
|
7366
|
+
var vf = (this.fields && this.fields.value) || 'value';
|
|
7367
|
+
var tf = (this.fields && this.fields.text) || 'text';
|
|
7368
|
+
for (var k = 0; k < ds.length; k++) {
|
|
7369
|
+
var it_1 = ds[k];
|
|
7370
|
+
if (it_1) {
|
|
7371
|
+
var vk = getValue(vf, it_1);
|
|
7372
|
+
if (vk !== undefined && vk !== null) {
|
|
7373
|
+
var tv = getValue(tf, it_1);
|
|
7374
|
+
textMap[String(vk)] = tv == null ? String(vk) : String(tv);
|
|
7375
|
+
}
|
|
7376
|
+
}
|
|
7377
|
+
}
|
|
7378
|
+
}
|
|
7379
|
+
var parts = new Array(this.value.length);
|
|
7380
|
+
if (this.isPrimitiveData) {
|
|
7381
|
+
for (var i2 = 0; i2 < this.value.length; i2++) {
|
|
7382
|
+
parts[i2] = String(this.value[i2]);
|
|
7383
|
+
}
|
|
7384
|
+
}
|
|
7385
|
+
else {
|
|
7386
|
+
var fName = (this.fields && this.fields.value) || 'value';
|
|
7387
|
+
for (var i2 = 0; i2 < this.value.length; i2++) {
|
|
7388
|
+
var raw = this.allowObjectBinding
|
|
7389
|
+
? getValue(fName, this.value[i2])
|
|
7390
|
+
: this.value[i2];
|
|
7391
|
+
var key = raw == null ? '' : String(raw);
|
|
7392
|
+
parts[i2] = textMap[key] != null ? textMap[key] : (key);
|
|
7393
|
+
}
|
|
7394
|
+
}
|
|
7395
|
+
this.setProperties({ text: parts.join(this.delimiterChar) }, true);
|
|
7396
|
+
this.updateDelimView();
|
|
7397
|
+
this.initialUpdate();
|
|
7398
|
+
}
|
|
7399
|
+
else {
|
|
7400
|
+
this.initialValueUpdate(listItems_3, true, isInitialRender);
|
|
7401
|
+
this.initialUpdate();
|
|
7402
|
+
}
|
|
7061
7403
|
}
|
|
7062
7404
|
else {
|
|
7063
7405
|
this.setInitialValue = function () {
|
|
@@ -7547,6 +7889,12 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
7547
7889
|
__decorate([
|
|
7548
7890
|
Property('Default')
|
|
7549
7891
|
], MultiSelect.prototype, "mode", void 0);
|
|
7892
|
+
__decorate([
|
|
7893
|
+
Property(0)
|
|
7894
|
+
], MultiSelect.prototype, "summaryTagCount", void 0);
|
|
7895
|
+
__decorate([
|
|
7896
|
+
Property('${selectedCount} items selected')
|
|
7897
|
+
], MultiSelect.prototype, "summaryTagTemplate", void 0);
|
|
7550
7898
|
__decorate([
|
|
7551
7899
|
Property(',')
|
|
7552
7900
|
], MultiSelect.prototype, "delimiterChar", void 0);
|