@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
|
@@ -507,7 +507,14 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
507
507
|
if (oldUlElement) {
|
|
508
508
|
this.parent.list.querySelector('.e-virtual-ddl-content').removeChild(oldUlElement);
|
|
509
509
|
}
|
|
510
|
-
|
|
510
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
511
|
+
if (this.component === 'multiselect' && this.parent.value.length >= this.parent.getSummaryTagThreshold() &&
|
|
512
|
+
this.parent.mode === 'CheckBox' && this.parent.enableVirtualization) {
|
|
513
|
+
this.parent.resetList(this.parent.dataSource, this.parent.fields, query, undefined, true);
|
|
514
|
+
}
|
|
515
|
+
else {
|
|
516
|
+
this.parent.resetList(this.parent.dataSource, this.parent.fields, query);
|
|
517
|
+
}
|
|
511
518
|
isListUpdated = false;
|
|
512
519
|
this.parent.appendUncheckList = this.parent.dataSource instanceof DataManager ? this.parent.appendUncheckList : false;
|
|
513
520
|
oldUlElement = null;
|
|
@@ -1645,9 +1652,10 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1645
1652
|
* @param {FieldSettingsModel} fields - Maps the columns of the data table and binds the data to the component.
|
|
1646
1653
|
* @param {Query} query - Accepts the external Query that execute along with data processing.
|
|
1647
1654
|
* @param {MouseEvent | KeyboardEventArgs | TouchEvent} event - Specifies the event which is the reason for the invocation of this method.
|
|
1655
|
+
* @param {boolean} skipExecuteLocal - Specifies whether to skip executing the local query on the data source and use unchecked values instead.
|
|
1648
1656
|
* @returns {void}
|
|
1649
1657
|
*/
|
|
1650
|
-
DropDownBase.prototype.setListData = function (dataSource, fields, query, event) {
|
|
1658
|
+
DropDownBase.prototype.setListData = function (dataSource, fields, query, event, skipExecuteLocal) {
|
|
1651
1659
|
var _this = this;
|
|
1652
1660
|
fields = fields ? fields : this.fields;
|
|
1653
1661
|
var ulElement;
|
|
@@ -1808,7 +1816,13 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1808
1816
|
_this.virtualGroupDataSource
|
|
1809
1817
|
&& !_this.isCustomDataUpdated ? new DataManager(_this.virtualGroupDataSource) :
|
|
1810
1818
|
new DataManager(eventArgs.data);
|
|
1811
|
-
|
|
1819
|
+
if (!skipExecuteLocal) {
|
|
1820
|
+
listItems = (_this.getQuery(eventArgs.query)).executeLocal(dataManager);
|
|
1821
|
+
}
|
|
1822
|
+
else {
|
|
1823
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1824
|
+
listItems = { count: _this.uncheckedValues.length, result: _this.uncheckedValues };
|
|
1825
|
+
}
|
|
1812
1826
|
if (!_this.virtualSelectAll) {
|
|
1813
1827
|
var newQuery = _this.getQuery(eventArgs.query);
|
|
1814
1828
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -2715,9 +2729,10 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2715
2729
|
* @param {FieldSettingsModel} fields - Maps the columns of the data table and binds the data to the component.
|
|
2716
2730
|
* @param {Query} query - Accepts the external Query that execute along with data processing.
|
|
2717
2731
|
* @param {MouseEvent | KeyboardEventArgs | TouchEvent} e - Specifies the event.
|
|
2732
|
+
* @param {boolean} skipExecuteLocal - Specifies whether to skip executing the local query on the data source and use unchecked values instead.
|
|
2718
2733
|
* @returns {void}
|
|
2719
2734
|
*/
|
|
2720
|
-
DropDownBase.prototype.resetList = function (dataSource, fields, query, e) {
|
|
2735
|
+
DropDownBase.prototype.resetList = function (dataSource, fields, query, e, skipExecuteLocal) {
|
|
2721
2736
|
if (this.list) {
|
|
2722
2737
|
if ((this.element.tagName === 'SELECT' && this.element.options.length > 0)
|
|
2723
2738
|
|| (this.element.tagName === 'UL' && this.element.childNodes.length > 0)) {
|
|
@@ -2733,7 +2748,7 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2733
2748
|
this.setCustomListData(dataSource, fields, query, e);
|
|
2734
2749
|
}
|
|
2735
2750
|
else {
|
|
2736
|
-
this.setListData(dataSource, fields, query, e);
|
|
2751
|
+
this.setListData(dataSource, fields, query, e, skipExecuteLocal);
|
|
2737
2752
|
}
|
|
2738
2753
|
}
|
|
2739
2754
|
};
|
|
@@ -13998,6 +14013,7 @@ var FILTERPARENT = 'e-filter-parent';
|
|
|
13998
14013
|
var CUSTOM_WIDTH = 'e-search-custom-width';
|
|
13999
14014
|
var FILTERINPUT = 'e-input-filter';
|
|
14000
14015
|
var RESIZE_ICON = 'e-resizer-right e-icons';
|
|
14016
|
+
var SUMMARY_TAG_VIEW = 'e-delim-summary';
|
|
14001
14017
|
/**
|
|
14002
14018
|
* The Multiselect allows the user to pick a more than one value from list of predefined values.
|
|
14003
14019
|
* ```html
|
|
@@ -14027,6 +14043,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
14027
14043
|
*/
|
|
14028
14044
|
function MultiSelect(option, element) {
|
|
14029
14045
|
var _this = _super.call(this, option, element) || this;
|
|
14046
|
+
_this.wasSelectAllActive = false;
|
|
14030
14047
|
_this.clearIconWidth = 0;
|
|
14031
14048
|
_this.previousFilterText = '';
|
|
14032
14049
|
_this.storedSelectAllHeight = 0;
|
|
@@ -14036,6 +14053,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
14036
14053
|
_this.isFilterPrevented = false;
|
|
14037
14054
|
_this.isFilteringAction = false;
|
|
14038
14055
|
_this.isPropertyChanged = false;
|
|
14056
|
+
_this.uncheckedValues = [];
|
|
14039
14057
|
_this.isValidKey = false;
|
|
14040
14058
|
_this.selectAllEventData = [];
|
|
14041
14059
|
_this.selectAllEventEle = [];
|
|
@@ -14483,6 +14501,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
14483
14501
|
(this.dataSource instanceof DataManager && this.totalItemCount !== 0 && this.totalItemCount > (this.itemCount * 2))
|
|
14484
14502
|
? (startindex + this.viewPortInfo.endIndex)
|
|
14485
14503
|
: (valuecheck.length);
|
|
14504
|
+
if (this.value && this.value.length > this.getSummaryTagThreshold()) {
|
|
14505
|
+
endindex = this.viewPortInfo.endIndex;
|
|
14506
|
+
}
|
|
14486
14507
|
// Build predicates in batches to prevent stack overflow
|
|
14487
14508
|
var predicateBatches = [];
|
|
14488
14509
|
for (var batchStart = startindex; batchStart < endindex; batchStart += BATCH_SIZE) {
|
|
@@ -14834,6 +14855,56 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
14834
14855
|
this.checkSelectAll();
|
|
14835
14856
|
this.checkMaxSelection();
|
|
14836
14857
|
};
|
|
14858
|
+
MultiSelect.prototype.extendSelectionToNewItems = function () {
|
|
14859
|
+
if (!this.list) {
|
|
14860
|
+
return;
|
|
14861
|
+
}
|
|
14862
|
+
var unselected = this.list.querySelectorAll('li.' + dropDownBaseClasses.li + ':not(.e-active):not(.e-disabled):not(.e-reorder-hide)');
|
|
14863
|
+
if (!unselected || unselected.length === 0) {
|
|
14864
|
+
this.notify('checkSelectAll', {
|
|
14865
|
+
module: 'CheckBoxSelection',
|
|
14866
|
+
enable: this.mode === 'CheckBox',
|
|
14867
|
+
value: 'check'
|
|
14868
|
+
});
|
|
14869
|
+
return;
|
|
14870
|
+
}
|
|
14871
|
+
if (!this.value) {
|
|
14872
|
+
this.value = [];
|
|
14873
|
+
}
|
|
14874
|
+
var currentValues = this.value;
|
|
14875
|
+
var seen = {};
|
|
14876
|
+
for (var i = 0; i < currentValues.length; i++) {
|
|
14877
|
+
seen[String(currentValues[i])] = true;
|
|
14878
|
+
}
|
|
14879
|
+
var newValues = currentValues.slice();
|
|
14880
|
+
var changed = false;
|
|
14881
|
+
for (var i = 0; i < unselected.length; i++) {
|
|
14882
|
+
var li = unselected[i];
|
|
14883
|
+
var rawValue = li.getAttribute('data-value');
|
|
14884
|
+
if (rawValue === null || seen[rawValue]) {
|
|
14885
|
+
continue;
|
|
14886
|
+
}
|
|
14887
|
+
var formatted = this.getFormattedValue(rawValue);
|
|
14888
|
+
newValues.push(formatted);
|
|
14889
|
+
seen[rawValue] = true;
|
|
14890
|
+
changed = true;
|
|
14891
|
+
this.addListSelection(li);
|
|
14892
|
+
}
|
|
14893
|
+
if (changed) {
|
|
14894
|
+
this.setProperties({ value: newValues }, true);
|
|
14895
|
+
this.updateHiddenElement();
|
|
14896
|
+
if (this.chipCollectionWrapper) {
|
|
14897
|
+
this.removeChipSelection();
|
|
14898
|
+
}
|
|
14899
|
+
this.updateDelimView();
|
|
14900
|
+
this.checkPlaceholderSize();
|
|
14901
|
+
}
|
|
14902
|
+
this.notify('checkSelectAll', {
|
|
14903
|
+
module: 'CheckBoxSelection',
|
|
14904
|
+
enable: this.mode === 'CheckBox',
|
|
14905
|
+
value: 'check'
|
|
14906
|
+
});
|
|
14907
|
+
};
|
|
14837
14908
|
MultiSelect.prototype.hideGroupItem = function (value) {
|
|
14838
14909
|
var element;
|
|
14839
14910
|
var element1;
|
|
@@ -16361,7 +16432,8 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
16361
16432
|
else {
|
|
16362
16433
|
var listUl = this.list && this.list.querySelector('ul');
|
|
16363
16434
|
var isFullList = this.isReact && this.itemTemplate && listUl != null &&
|
|
16364
|
-
listUl.querySelectorAll('.e-list-item').length === this.mainData.length && !this.groupTemplate &&
|
|
16435
|
+
listUl.querySelectorAll('.e-list-item').length === this.mainData.length && !this.groupTemplate &&
|
|
16436
|
+
this.mode !== 'CheckBox';
|
|
16365
16437
|
this.onActionComplete(isFullList ? listUl : list, this.mainData);
|
|
16366
16438
|
}
|
|
16367
16439
|
this.focusAtLastListItem(data);
|
|
@@ -16755,6 +16827,10 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
16755
16827
|
});
|
|
16756
16828
|
}
|
|
16757
16829
|
};
|
|
16830
|
+
MultiSelect.prototype.isDimColumnWithCustomStyle = function () {
|
|
16831
|
+
return this.overAllWrapper.classList.contains('b-dbrd-dim-column-ms') &&
|
|
16832
|
+
this.overAllWrapper.classList.contains('e-dbrd-cstyle');
|
|
16833
|
+
};
|
|
16758
16834
|
MultiSelect.prototype.removeValue = function (value, eve, length, isClearAll) {
|
|
16759
16835
|
var _this = this;
|
|
16760
16836
|
var index = this.allowObjectBinding ? this.indexOfObjectInArray(value, this.value) :
|
|
@@ -16789,6 +16865,38 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
16789
16865
|
_this.currentRemoveValue = _this.allowObjectBinding ? getValue(((_this.fields.value) ?
|
|
16790
16866
|
_this.fields.value : ''), value) : value;
|
|
16791
16867
|
_this.virtualSelectAll = false;
|
|
16868
|
+
if (_this.mode === 'CheckBox' && _this.enableVirtualization && _this.value.length > _this.getSummaryTagThreshold()
|
|
16869
|
+
&& !isNullOrUndefined(_this.dataSource) && (!_this.isDimColumnWithCustomStyle())) {
|
|
16870
|
+
var valueField_1 = _this.fields && _this.fields.value ? _this.fields.value : 'value';
|
|
16871
|
+
var dataSourceArray = _this.dataSource;
|
|
16872
|
+
var fullItem = void 0;
|
|
16873
|
+
var dataSourceIndex = -1;
|
|
16874
|
+
for (var i = 0; i < dataSourceArray.length; i++) {
|
|
16875
|
+
var item = dataSourceArray[i];
|
|
16876
|
+
if (getValue(valueField_1, item) === _this.currentRemoveValue) {
|
|
16877
|
+
fullItem = item;
|
|
16878
|
+
dataSourceIndex = i;
|
|
16879
|
+
break;
|
|
16880
|
+
}
|
|
16881
|
+
}
|
|
16882
|
+
if (fullItem && dataSourceIndex !== -1) {
|
|
16883
|
+
var unchecked = _this.uncheckedValues;
|
|
16884
|
+
_this.uncheckedValues = unchecked.concat([fullItem]);
|
|
16885
|
+
var indexMap_1 = {};
|
|
16886
|
+
for (var j = 0; j < dataSourceArray.length; j++) {
|
|
16887
|
+
var mapItem = dataSourceArray[j];
|
|
16888
|
+
indexMap_1[getValue(valueField_1, mapItem)] = j;
|
|
16889
|
+
}
|
|
16890
|
+
_this.uncheckedValues.sort(function (a, b) {
|
|
16891
|
+
var aIdx = indexMap_1[getValue(valueField_1, a)];
|
|
16892
|
+
var bIdx = indexMap_1[getValue(valueField_1, b)];
|
|
16893
|
+
if (aIdx === bIdx) {
|
|
16894
|
+
return 0;
|
|
16895
|
+
}
|
|
16896
|
+
return aIdx - bIdx;
|
|
16897
|
+
});
|
|
16898
|
+
}
|
|
16899
|
+
}
|
|
16792
16900
|
var removeVal = _this.value.slice(0);
|
|
16793
16901
|
removeVal.splice(index, 1);
|
|
16794
16902
|
if (_this.enableVirtualization && _this.selectedListData) {
|
|
@@ -18253,7 +18361,8 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
18253
18361
|
else if ((isNullOrUndefined(text) && !this.allowCustomValue) &&
|
|
18254
18362
|
((!(this.dataSource instanceof DataManager)) ||
|
|
18255
18363
|
(this.dataSource instanceof DataManager && isInitialVirtualData)) && (!this.isAngular || !isInitialRender ||
|
|
18256
|
-
(isNullOrUndefined(formElement) && listItems && listItems.length > 0))
|
|
18364
|
+
(isNullOrUndefined(formElement) && listItems && listItems.length > 0))
|
|
18365
|
+
&& !(this.mode === 'CheckBox' && this.enableVirtualization && this.value.length > this.getSummaryTagThreshold())) {
|
|
18257
18366
|
this.value.splice(index, 1);
|
|
18258
18367
|
index -= 1;
|
|
18259
18368
|
}
|
|
@@ -18929,6 +19038,53 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
18929
19038
|
wrapperType.innerText = wrapperData;
|
|
18930
19039
|
}
|
|
18931
19040
|
};
|
|
19041
|
+
MultiSelect.prototype.getSummaryTagThreshold = function () {
|
|
19042
|
+
return this.summaryTagCount && this.summaryTagCount > 0 ? this.summaryTagCount : 1000;
|
|
19043
|
+
};
|
|
19044
|
+
MultiSelect.prototype.getSummaryTagText = function () {
|
|
19045
|
+
var selectedCount = this.value ? this.value.length : 0;
|
|
19046
|
+
var totalCount = this.totalItemCount ? this.totalItemCount : 0;
|
|
19047
|
+
if (this.summaryTagTemplate && typeof this.summaryTagTemplate === 'string') {
|
|
19048
|
+
var template = this.summaryTagTemplate;
|
|
19049
|
+
if (this.mode === 'CheckBox') {
|
|
19050
|
+
template = template.replace(/<[^>]+>/g, '');
|
|
19051
|
+
}
|
|
19052
|
+
if (this.viewWrapper) {
|
|
19053
|
+
this.viewWrapper.classList.add(SUMMARY_TAG_VIEW);
|
|
19054
|
+
this.applySummaryTagWidth();
|
|
19055
|
+
}
|
|
19056
|
+
return template
|
|
19057
|
+
.replace(/\$\{selectedCount\}/g, selectedCount.toString())
|
|
19058
|
+
.replace(/\$\{totalCount\}/g, totalCount.toString());
|
|
19059
|
+
}
|
|
19060
|
+
var l10nLocale = { summaryTagTemplate: '${selectedCount} items selected' };
|
|
19061
|
+
var summaryTagTemplate = this.l10n ? this.l10n.getConstant('summaryTagTemplate') :
|
|
19062
|
+
new L10n(this.getLocaleName(), l10nLocale, this.locale).getConstant('summaryTagTemplate');
|
|
19063
|
+
return summaryTagTemplate.replace(/\$\{selectedCount\}/g, selectedCount.toString());
|
|
19064
|
+
};
|
|
19065
|
+
MultiSelect.prototype.applySummaryTagWidth = function () {
|
|
19066
|
+
if (!this.viewWrapper || !this.componentWrapper) {
|
|
19067
|
+
return;
|
|
19068
|
+
}
|
|
19069
|
+
var componentStyle = window.getComputedStyle(this.componentWrapper);
|
|
19070
|
+
var componentWidth = this.componentWrapper.clientWidth;
|
|
19071
|
+
var horizontalPadding = (parseFloat(componentStyle.paddingLeft) || 0) +
|
|
19072
|
+
(parseFloat(componentStyle.paddingRight) || 0);
|
|
19073
|
+
var available = componentWidth - horizontalPadding;
|
|
19074
|
+
var rightIcons = 0;
|
|
19075
|
+
if (this.showClearButton && this.overAllClear) {
|
|
19076
|
+
var display = this.overAllClear.style.display;
|
|
19077
|
+
this.overAllClear.style.display = 'block';
|
|
19078
|
+
rightIcons += this.overAllClear.offsetWidth;
|
|
19079
|
+
this.overAllClear.style.display = display;
|
|
19080
|
+
}
|
|
19081
|
+
if (this.showDropDownIcon && this.dropIcon) {
|
|
19082
|
+
var dropStyle = window.getComputedStyle(this.dropIcon);
|
|
19083
|
+
rightIcons += this.dropIcon.offsetWidth + (parseFloat(dropStyle.marginRight) || 0);
|
|
19084
|
+
}
|
|
19085
|
+
var maxWidth = Math.max(0, available - rightIcons - 8);
|
|
19086
|
+
this.viewWrapper.style.width = maxWidth + 'px';
|
|
19087
|
+
};
|
|
18932
19088
|
MultiSelect.prototype.updateDelimView = function () {
|
|
18933
19089
|
if (this.delimiterWrapper) {
|
|
18934
19090
|
this.hideDelimWrapper();
|
|
@@ -18942,6 +19098,17 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
18942
19098
|
this.viewWrapper.classList.remove(TOTAL_COUNT_WRAPPER$1);
|
|
18943
19099
|
}
|
|
18944
19100
|
if (this.value && this.value.length) {
|
|
19101
|
+
if (this.mode === 'CheckBox' && this.value.length > this.getSummaryTagThreshold()) {
|
|
19102
|
+
var summaryText = this.getSummaryTagText();
|
|
19103
|
+
this.updateWrapperText(this.viewWrapper, summaryText);
|
|
19104
|
+
if (this.isSelectAllClicked) {
|
|
19105
|
+
this.showOverAllClear();
|
|
19106
|
+
}
|
|
19107
|
+
return;
|
|
19108
|
+
}
|
|
19109
|
+
else if (this.mode === 'CheckBox' && this.viewWrapper) {
|
|
19110
|
+
this.viewWrapper.classList.remove(SUMMARY_TAG_VIEW);
|
|
19111
|
+
}
|
|
18945
19112
|
var data = '';
|
|
18946
19113
|
var temp = void 0;
|
|
18947
19114
|
var tempData = void 0;
|
|
@@ -19430,102 +19597,227 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
19430
19597
|
}
|
|
19431
19598
|
else {
|
|
19432
19599
|
if (this.virtualSelectAllData && this.virtualSelectAllData.length > 0) {
|
|
19433
|
-
|
|
19434
|
-
|
|
19435
|
-
|
|
19436
|
-
|
|
19437
|
-
|
|
19438
|
-
|
|
19439
|
-
|
|
19440
|
-
|
|
19441
|
-
|
|
19442
|
-
|
|
19443
|
-
|
|
19444
|
-
|
|
19445
|
-
|
|
19446
|
-
|
|
19447
|
-
|
|
19448
|
-
|
|
19449
|
-
|
|
19450
|
-
|
|
19451
|
-
|
|
19452
|
-
if (inputEl_2) {
|
|
19453
|
-
inputEl_2.setAttribute('readonly', 'true');
|
|
19454
|
-
}
|
|
19455
|
-
this.filterParent.style.cursor = 'progress';
|
|
19456
|
-
[contentEl_2, selectAllEl_2].forEach(function (el) {
|
|
19457
|
-
if (!el) {
|
|
19458
|
-
return;
|
|
19459
|
-
}
|
|
19460
|
-
el.style.pointerEvents = 'none';
|
|
19461
|
-
el.style.userSelect = 'none';
|
|
19462
|
-
el.style.touchAction = 'none';
|
|
19463
|
-
if (el === contentEl_2) {
|
|
19464
|
-
el.style.overflow = 'hidden';
|
|
19600
|
+
if (this.mode === 'CheckBox' && this.enableVirtualization && this.virtualSelectAllData.length > this.getSummaryTagThreshold()) {
|
|
19601
|
+
this.isProcessingVirtualSelectAll = true;
|
|
19602
|
+
createSpinner({ target: this.filterParent, width: Browser.isDevice ? '16px' : '14px' }, this.createElement);
|
|
19603
|
+
showSpinner(this.filterParent);
|
|
19604
|
+
this.preventKeyboardInteraction = true;
|
|
19605
|
+
var contentEl_2 = null;
|
|
19606
|
+
var selectAllEl_2 = null;
|
|
19607
|
+
var inputEl_2 = null;
|
|
19608
|
+
if (this.popupObj && this.popupObj.element && this.filterParent) {
|
|
19609
|
+
contentEl_2 = this.popupObj.element.querySelector('.e-content');
|
|
19610
|
+
selectAllEl_2 = this.popupObj.element.querySelector('.e-selectall-parent');
|
|
19611
|
+
inputEl_2 = this.filterParent.querySelector('.e-input');
|
|
19612
|
+
[contentEl_2, selectAllEl_2, this.filterParent].forEach(function (el) {
|
|
19613
|
+
if (el) {
|
|
19614
|
+
el.style.opacity = '0.5';
|
|
19615
|
+
}
|
|
19616
|
+
});
|
|
19617
|
+
if (inputEl_2) {
|
|
19618
|
+
inputEl_2.setAttribute('readonly', 'true');
|
|
19465
19619
|
}
|
|
19466
|
-
|
|
19467
|
-
|
|
19468
|
-
|
|
19469
|
-
|
|
19470
|
-
|
|
19471
|
-
|
|
19472
|
-
|
|
19473
|
-
|
|
19474
|
-
|
|
19475
|
-
|
|
19476
|
-
|
|
19477
|
-
|
|
19478
|
-
if (currentIndex_1 < dataArray_1.length) {
|
|
19479
|
-
requestAnimationFrame(processBatch_1);
|
|
19620
|
+
this.filterParent.style.cursor = 'progress';
|
|
19621
|
+
[contentEl_2, selectAllEl_2].forEach(function (el) {
|
|
19622
|
+
if (!el) {
|
|
19623
|
+
return;
|
|
19624
|
+
}
|
|
19625
|
+
el.style.pointerEvents = 'none';
|
|
19626
|
+
el.style.userSelect = 'none';
|
|
19627
|
+
el.style.touchAction = 'none';
|
|
19628
|
+
if (el === contentEl_2) {
|
|
19629
|
+
el.style.overflow = 'hidden';
|
|
19630
|
+
}
|
|
19631
|
+
});
|
|
19480
19632
|
}
|
|
19481
|
-
|
|
19482
|
-
|
|
19483
|
-
|
|
19484
|
-
|
|
19485
|
-
|
|
19486
|
-
|
|
19487
|
-
|
|
19488
|
-
|
|
19489
|
-
|
|
19490
|
-
|
|
19633
|
+
setTimeout(function () {
|
|
19634
|
+
requestAnimationFrame(function () {
|
|
19635
|
+
_this.virtualSelectAll = false;
|
|
19636
|
+
_this.selectedListData = [];
|
|
19637
|
+
if (_this.chipCollectionWrapper) {
|
|
19638
|
+
_this.chipCollectionWrapper.innerHTML = '';
|
|
19639
|
+
}
|
|
19640
|
+
if (_this.list) {
|
|
19641
|
+
var selectedItems = _this.list.querySelectorAll('li.' + dropDownBaseClasses.li + '.e-active');
|
|
19642
|
+
removeClass(selectedItems, 'e-active');
|
|
19643
|
+
var checkedItems = _this.list.querySelectorAll('li.' + dropDownBaseClasses.li + '[aria-selected="true"]');
|
|
19644
|
+
checkedItems.forEach(function (el) { return el.setAttribute('aria-selected', 'false'); });
|
|
19645
|
+
}
|
|
19646
|
+
if (_this.mainList) {
|
|
19647
|
+
var mainSelected = _this.mainList.querySelectorAll('li.' + dropDownBaseClasses.li + '.e-active');
|
|
19648
|
+
removeClass(mainSelected, 'e-active');
|
|
19649
|
+
var mainChecked = _this.mainList.querySelectorAll('li.' + dropDownBaseClasses.li + '[aria-selected="true"]');
|
|
19650
|
+
mainChecked.forEach(function (el) { return el.setAttribute('aria-selected', 'false'); });
|
|
19651
|
+
}
|
|
19652
|
+
if (_this.list) {
|
|
19653
|
+
var disabledItems = _this.list.querySelectorAll('li.' + dropDownBaseClasses.li + '.e-disable');
|
|
19654
|
+
removeClass(disabledItems, 'e-disable');
|
|
19655
|
+
}
|
|
19656
|
+
if (_this.mainList) {
|
|
19657
|
+
var mainDisabled = _this.mainList.querySelectorAll('li.' + dropDownBaseClasses.li + '.e-disable');
|
|
19658
|
+
removeClass(mainDisabled, 'e-disable');
|
|
19659
|
+
}
|
|
19660
|
+
_this.setProperties({ value: [] }, true);
|
|
19661
|
+
_this.setProperties({ text: '' }, true);
|
|
19662
|
+
_this.tempValues = null;
|
|
19663
|
+
_this.notify('checkSelectAll', {
|
|
19664
|
+
module: 'CheckBoxSelection',
|
|
19665
|
+
enable: _this.mode === 'CheckBox',
|
|
19666
|
+
value: 'uncheck'
|
|
19491
19667
|
});
|
|
19492
|
-
|
|
19493
|
-
|
|
19494
|
-
|
|
19495
|
-
|
|
19496
|
-
|
|
19668
|
+
var selectedAllArgs = {
|
|
19669
|
+
event: event,
|
|
19670
|
+
items: [],
|
|
19671
|
+
itemData: [],
|
|
19672
|
+
isInteracted: event ? true : false,
|
|
19673
|
+
isChecked: false
|
|
19674
|
+
};
|
|
19675
|
+
_this.trigger('selectedAll', selectedAllArgs);
|
|
19676
|
+
if (_this.changeOnBlur) {
|
|
19677
|
+
_this.updateValueState(event, _this.value, _this.tempValues);
|
|
19678
|
+
_this.dispatchEvent(_this.hiddenElement, 'change');
|
|
19497
19679
|
}
|
|
19498
|
-
|
|
19499
|
-
|
|
19500
|
-
|
|
19501
|
-
|
|
19680
|
+
else {
|
|
19681
|
+
_this.updateValueState(event, _this.value, _this.tempValues);
|
|
19682
|
+
_this.isSelectAll = _this.isSelectAll ? !_this.isSelectAll : _this.isSelectAll;
|
|
19683
|
+
}
|
|
19684
|
+
_this.updateHiddenElement();
|
|
19685
|
+
_this.refreshInputHight();
|
|
19686
|
+
_this.refreshPlaceHolder();
|
|
19687
|
+
_this.updateDelimView();
|
|
19688
|
+
_this.hideOverAllClear();
|
|
19689
|
+
_this.isProcessingVirtualSelectAll = false;
|
|
19690
|
+
_this.preventKeyboardInteraction = false;
|
|
19691
|
+
hideSpinner(_this.filterParent);
|
|
19692
|
+
if (_this.popupObj && _this.filterParent) {
|
|
19693
|
+
[contentEl_2, selectAllEl_2, _this.filterParent].forEach(function (el) {
|
|
19694
|
+
if (el) {
|
|
19695
|
+
el.style.opacity = '';
|
|
19696
|
+
}
|
|
19697
|
+
});
|
|
19698
|
+
if (contentEl_2) {
|
|
19699
|
+
contentEl_2.style.pointerEvents = 'auto';
|
|
19700
|
+
contentEl_2.style.userSelect = 'auto';
|
|
19701
|
+
contentEl_2.style.touchAction = 'auto';
|
|
19702
|
+
contentEl_2.style.overflow = 'auto';
|
|
19703
|
+
}
|
|
19704
|
+
if (selectAllEl_2) {
|
|
19705
|
+
selectAllEl_2.style.pointerEvents = 'auto';
|
|
19706
|
+
selectAllEl_2.style.userSelect = 'auto';
|
|
19707
|
+
selectAllEl_2.style.touchAction = 'auto';
|
|
19708
|
+
}
|
|
19709
|
+
if (inputEl_2) {
|
|
19710
|
+
inputEl_2.removeAttribute('readonly');
|
|
19711
|
+
}
|
|
19712
|
+
_this.filterParent.style.cursor = '';
|
|
19502
19713
|
}
|
|
19503
|
-
if (
|
|
19504
|
-
|
|
19714
|
+
if (!isNullOrUndefined(_this.viewPortInfo.startIndex) && !isNullOrUndefined(_this.viewPortInfo.endIndex)) {
|
|
19715
|
+
_this.notify('setCurrentViewDataAsync', {
|
|
19716
|
+
component: _this.getModuleName(),
|
|
19717
|
+
module: 'VirtualScroll'
|
|
19718
|
+
});
|
|
19505
19719
|
}
|
|
19506
|
-
|
|
19507
|
-
|
|
19508
|
-
|
|
19509
|
-
|
|
19720
|
+
});
|
|
19721
|
+
}, this.virtualSelectAllData.length / 10);
|
|
19722
|
+
}
|
|
19723
|
+
else {
|
|
19724
|
+
var dataArray_1 = this.virtualSelectAllData;
|
|
19725
|
+
var batchSize_1 = 500;
|
|
19726
|
+
var currentIndex_1 = 0;
|
|
19727
|
+
this.isProcessingVirtualSelectAll = true;
|
|
19728
|
+
createSpinner({ target: this.filterParent, width: Browser.isDevice ? '16px' : '14px' }, this.createElement);
|
|
19729
|
+
showSpinner(this.filterParent);
|
|
19730
|
+
this.preventKeyboardInteraction = true;
|
|
19731
|
+
var contentEl_3 = null;
|
|
19732
|
+
var selectAllEl_3 = null;
|
|
19733
|
+
var inputEl_3 = null;
|
|
19734
|
+
if (this.popupObj && this.popupObj.element && this.filterParent) {
|
|
19735
|
+
contentEl_3 = this.popupObj.element.querySelector('.e-content');
|
|
19736
|
+
selectAllEl_3 = this.popupObj.element.querySelector('.e-selectall-parent');
|
|
19737
|
+
inputEl_3 = this.filterParent.querySelector('.e-input');
|
|
19738
|
+
[contentEl_3, selectAllEl_3, this.filterParent].forEach(function (el) {
|
|
19739
|
+
if (el) {
|
|
19740
|
+
el.style.opacity = '0.5';
|
|
19741
|
+
}
|
|
19742
|
+
});
|
|
19743
|
+
if (inputEl_3) {
|
|
19744
|
+
inputEl_3.setAttribute('readonly', 'true');
|
|
19510
19745
|
}
|
|
19511
|
-
|
|
19512
|
-
|
|
19513
|
-
|
|
19514
|
-
|
|
19746
|
+
this.filterParent.style.cursor = 'progress';
|
|
19747
|
+
[contentEl_3, selectAllEl_3].forEach(function (el) {
|
|
19748
|
+
if (!el) {
|
|
19749
|
+
return;
|
|
19750
|
+
}
|
|
19751
|
+
el.style.pointerEvents = 'none';
|
|
19752
|
+
el.style.userSelect = 'none';
|
|
19753
|
+
el.style.touchAction = 'none';
|
|
19754
|
+
if (el === contentEl_3) {
|
|
19755
|
+
el.style.overflow = 'hidden';
|
|
19756
|
+
}
|
|
19757
|
+
});
|
|
19758
|
+
}
|
|
19759
|
+
var processBatch_1 = function () {
|
|
19760
|
+
var endIndex = Math.min(currentIndex_1 + batchSize_1, dataArray_1.length);
|
|
19761
|
+
var batch = dataArray_1.slice(currentIndex_1, endIndex);
|
|
19762
|
+
// Use map on the batch
|
|
19763
|
+
batch.map(function (obj) {
|
|
19764
|
+
_this.virtualSelectAll = true;
|
|
19765
|
+
// eslint-disable-next-line security/detect-object-injection
|
|
19766
|
+
_this.removeValue(_this.value[index], event, _this.value.length - index);
|
|
19767
|
+
});
|
|
19768
|
+
currentIndex_1 = endIndex;
|
|
19769
|
+
if (currentIndex_1 < dataArray_1.length) {
|
|
19770
|
+
requestAnimationFrame(processBatch_1);
|
|
19515
19771
|
}
|
|
19516
|
-
|
|
19517
|
-
|
|
19518
|
-
|
|
19519
|
-
|
|
19520
|
-
|
|
19521
|
-
_this.
|
|
19522
|
-
|
|
19523
|
-
|
|
19524
|
-
|
|
19772
|
+
else {
|
|
19773
|
+
// All batches completed
|
|
19774
|
+
_this.isProcessingVirtualSelectAll = false;
|
|
19775
|
+
_this.preventKeyboardInteraction = false;
|
|
19776
|
+
hideSpinner(_this.filterParent);
|
|
19777
|
+
if (_this.popupObj && _this.filterParent) {
|
|
19778
|
+
[contentEl_3, selectAllEl_3, _this.filterParent].forEach(function (el) {
|
|
19779
|
+
if (el) {
|
|
19780
|
+
el.style.opacity = '';
|
|
19781
|
+
}
|
|
19782
|
+
});
|
|
19783
|
+
if (contentEl_3) {
|
|
19784
|
+
contentEl_3.style.pointerEvents = 'auto';
|
|
19785
|
+
contentEl_3.style.userSelect = 'auto';
|
|
19786
|
+
contentEl_3.style.touchAction = 'auto';
|
|
19787
|
+
contentEl_3.style.overflow = 'auto';
|
|
19788
|
+
}
|
|
19789
|
+
if (selectAllEl_3) {
|
|
19790
|
+
selectAllEl_3.style.pointerEvents = 'auto';
|
|
19791
|
+
selectAllEl_3.style.userSelect = 'auto';
|
|
19792
|
+
selectAllEl_3.style.touchAction = 'auto';
|
|
19793
|
+
}
|
|
19794
|
+
if (inputEl_3) {
|
|
19795
|
+
inputEl_3.removeAttribute('readonly');
|
|
19796
|
+
}
|
|
19797
|
+
_this.filterParent.style.cursor = '';
|
|
19798
|
+
}
|
|
19799
|
+
if (!_this.isSelectAllClicked) {
|
|
19800
|
+
_this.showOverAllClear();
|
|
19801
|
+
}
|
|
19802
|
+
_this.updatedataValueItems(event);
|
|
19803
|
+
if (!_this.changeOnBlur) {
|
|
19804
|
+
_this.updateValueState(event, _this.value, _this.tempValues);
|
|
19805
|
+
_this.isSelectAll = _this.isSelectAll ? !_this.isSelectAll : _this.isSelectAll;
|
|
19806
|
+
}
|
|
19807
|
+
_this.updateHiddenElement();
|
|
19808
|
+
_this.setProperties({ value: [] }, true);
|
|
19809
|
+
_this.selectedListData = [];
|
|
19810
|
+
_this.virtualSelectAll = false;
|
|
19811
|
+
if (!isNullOrUndefined(_this.viewPortInfo.startIndex) && !isNullOrUndefined(_this.viewPortInfo.endIndex)) {
|
|
19812
|
+
_this.notify('setCurrentViewDataAsync', {
|
|
19813
|
+
component: _this.getModuleName(),
|
|
19814
|
+
module: 'VirtualScroll'
|
|
19815
|
+
});
|
|
19816
|
+
}
|
|
19525
19817
|
}
|
|
19526
|
-
}
|
|
19527
|
-
|
|
19528
|
-
|
|
19818
|
+
};
|
|
19819
|
+
processBatch_1();
|
|
19820
|
+
}
|
|
19529
19821
|
}
|
|
19530
19822
|
}
|
|
19531
19823
|
this.checkSelectAll();
|
|
@@ -19593,30 +19885,30 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
19593
19885
|
createSpinner({ target: this.filterParent, width: Browser.isDevice ? '16px' : '14px' }, this.createElement);
|
|
19594
19886
|
showSpinner(this.filterParent);
|
|
19595
19887
|
this.preventKeyboardInteraction = true;
|
|
19596
|
-
var
|
|
19597
|
-
var
|
|
19598
|
-
var
|
|
19888
|
+
var contentEl_4 = null;
|
|
19889
|
+
var selectAllEl_4 = null;
|
|
19890
|
+
var inputEl_4 = null;
|
|
19599
19891
|
if (this.popupObj && this.popupObj.element && this.filterParent) {
|
|
19600
|
-
|
|
19601
|
-
|
|
19602
|
-
|
|
19603
|
-
[
|
|
19892
|
+
contentEl_4 = this.popupObj.element.querySelector('.e-content');
|
|
19893
|
+
selectAllEl_4 = this.popupObj.element.querySelector('.e-selectall-parent');
|
|
19894
|
+
inputEl_4 = this.filterParent.querySelector('.e-input');
|
|
19895
|
+
[contentEl_4, selectAllEl_4, this.filterParent].forEach(function (el) {
|
|
19604
19896
|
if (el) {
|
|
19605
19897
|
el.style.opacity = '0.5';
|
|
19606
19898
|
}
|
|
19607
19899
|
});
|
|
19608
|
-
if (
|
|
19609
|
-
|
|
19900
|
+
if (inputEl_4) {
|
|
19901
|
+
inputEl_4.setAttribute('readonly', 'true');
|
|
19610
19902
|
}
|
|
19611
19903
|
this.filterParent.style.cursor = 'progress';
|
|
19612
|
-
[
|
|
19904
|
+
[contentEl_4, selectAllEl_4].forEach(function (el) {
|
|
19613
19905
|
if (!el) {
|
|
19614
19906
|
return;
|
|
19615
19907
|
}
|
|
19616
19908
|
el.style.pointerEvents = 'none';
|
|
19617
19909
|
el.style.userSelect = 'none';
|
|
19618
19910
|
el.style.touchAction = 'none';
|
|
19619
|
-
if (el ===
|
|
19911
|
+
if (el === contentEl_4) {
|
|
19620
19912
|
el.style.overflow = 'hidden';
|
|
19621
19913
|
}
|
|
19622
19914
|
});
|
|
@@ -19648,24 +19940,24 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
19648
19940
|
hideSpinner(this.filterParent);
|
|
19649
19941
|
this.preventKeyboardInteraction = false;
|
|
19650
19942
|
if (this.popupObj && this.filterParent) {
|
|
19651
|
-
[
|
|
19943
|
+
[contentEl_4, selectAllEl_4, this.filterParent].forEach(function (el) {
|
|
19652
19944
|
if (el) {
|
|
19653
19945
|
el.style.opacity = '';
|
|
19654
19946
|
}
|
|
19655
19947
|
});
|
|
19656
|
-
if (
|
|
19657
|
-
|
|
19658
|
-
|
|
19659
|
-
|
|
19660
|
-
|
|
19948
|
+
if (contentEl_4) {
|
|
19949
|
+
contentEl_4.style.pointerEvents = 'auto';
|
|
19950
|
+
contentEl_4.style.userSelect = 'auto';
|
|
19951
|
+
contentEl_4.style.touchAction = 'auto';
|
|
19952
|
+
contentEl_4.style.overflow = 'auto';
|
|
19661
19953
|
}
|
|
19662
|
-
if (
|
|
19663
|
-
|
|
19664
|
-
|
|
19665
|
-
|
|
19954
|
+
if (selectAllEl_4) {
|
|
19955
|
+
selectAllEl_4.style.pointerEvents = 'auto';
|
|
19956
|
+
selectAllEl_4.style.userSelect = 'auto';
|
|
19957
|
+
selectAllEl_4.style.touchAction = 'auto';
|
|
19666
19958
|
}
|
|
19667
|
-
if (
|
|
19668
|
-
|
|
19959
|
+
if (inputEl_4) {
|
|
19960
|
+
inputEl_4.removeAttribute('readonly');
|
|
19669
19961
|
}
|
|
19670
19962
|
this.filterParent.style.cursor = '';
|
|
19671
19963
|
}
|
|
@@ -19743,8 +20035,15 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
19743
20035
|
this.updateValueState(event, this.value, this.tempValues);
|
|
19744
20036
|
this.isSelectAll = this.isSelectAll ? !this.isSelectAll : this.isSelectAll;
|
|
19745
20037
|
}
|
|
19746
|
-
|
|
19747
|
-
this.
|
|
20038
|
+
var skipLegacyUpdateHidden = !state
|
|
20039
|
+
&& this.mode === 'CheckBox'
|
|
20040
|
+
&& this.enableVirtualization
|
|
20041
|
+
&& this.virtualSelectAllData
|
|
20042
|
+
&& this.virtualSelectAllData.length > this.getSummaryTagThreshold();
|
|
20043
|
+
if (!skipLegacyUpdateHidden) {
|
|
20044
|
+
if ((this.enableVirtualization && this.value && this.value.length > 0) || !this.enableVirtualization) {
|
|
20045
|
+
this.updateHiddenElement();
|
|
20046
|
+
}
|
|
19748
20047
|
}
|
|
19749
20048
|
}
|
|
19750
20049
|
};
|
|
@@ -19830,6 +20129,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
19830
20129
|
MultiSelect.prototype.selectAllItems = function (state, event) {
|
|
19831
20130
|
var _this = this;
|
|
19832
20131
|
this.isSelectAllClicked = state;
|
|
20132
|
+
this.wasSelectAllActive = state;
|
|
19833
20133
|
if (isNullOrUndefined(this.list)) {
|
|
19834
20134
|
this.selectAllAction = function () {
|
|
19835
20135
|
if (_this.mode === 'CheckBox' && _this.showSelectAll) {
|
|
@@ -19897,11 +20197,21 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
19897
20197
|
case 'dataSource':
|
|
19898
20198
|
this.sanitizeData();
|
|
19899
20199
|
if (this.mode === 'CheckBox' && this.showSelectAll) {
|
|
19900
|
-
if (!isNullOrUndefined(this.popupObj)) {
|
|
20200
|
+
if (!isNullOrUndefined(this.popupObj) && !this.isDimColumnWithCustomStyle()) {
|
|
19901
20201
|
this.popupObj.destroy();
|
|
19902
20202
|
this.popupObj = null;
|
|
19903
20203
|
}
|
|
19904
20204
|
this.renderPopup();
|
|
20205
|
+
if (this.isDimColumnWithCustomStyle() && this.isPopupOpen() && !isNullOrUndefined(this.popupObj) && this.list) {
|
|
20206
|
+
this.list.style.visibility = 'hidden';
|
|
20207
|
+
this.resetList(this.dataSource, this.fields, this.query);
|
|
20208
|
+
this.notify('selectAll', {});
|
|
20209
|
+
this.refreshSelection();
|
|
20210
|
+
if (this.wasSelectAllActive) {
|
|
20211
|
+
this.extendSelectionToNewItems();
|
|
20212
|
+
}
|
|
20213
|
+
this.list.style.visibility = '';
|
|
20214
|
+
}
|
|
19905
20215
|
}
|
|
19906
20216
|
break;
|
|
19907
20217
|
case 'htmlAttributes':
|
|
@@ -20015,6 +20325,12 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
20015
20325
|
break;
|
|
20016
20326
|
case 'enableSelectionOrder':
|
|
20017
20327
|
break;
|
|
20328
|
+
case 'summaryTagCount':
|
|
20329
|
+
case 'summaryTagTemplate':
|
|
20330
|
+
if (this.mode === 'CheckBox') {
|
|
20331
|
+
this.updateDelimView();
|
|
20332
|
+
}
|
|
20333
|
+
break;
|
|
20018
20334
|
case 'selectAllText':
|
|
20019
20335
|
this.notify('selectAllText', false);
|
|
20020
20336
|
break;
|
|
@@ -20420,9 +20736,8 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
20420
20736
|
var mainLiLength = _this.ulElement.querySelectorAll('li.' + 'e-list-item').length;
|
|
20421
20737
|
var liLength = _this.ulElement.querySelectorAll('li.'
|
|
20422
20738
|
+ dropDownBaseClasses.li + '.' + HIDE_LIST).length;
|
|
20423
|
-
var isFilterText = _this.allowFiltering && !isNullOrUndefined(_this.inputElement) &&
|
|
20424
|
-
_this.inputElement.value.trim() !== '';
|
|
20425
20739
|
var isRemoteData = _this.dataSource instanceof DataManager;
|
|
20740
|
+
var isFilterText = _this.allowFiltering && !isNullOrUndefined(_this.inputElement) && _this.inputElement.value.trim() !== '';
|
|
20426
20741
|
if (mainLiLength > 0 && (mainLiLength === liLength) && (liLength === _this.mainData.length) &&
|
|
20427
20742
|
!(_this.targetElement() !== '' && _this.allowCustomValue) && (!isRemoteData || !isFilterText)) {
|
|
20428
20743
|
_this.beforePopupOpen = false;
|
|
@@ -20937,6 +21252,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
20937
21252
|
if (this.value && this.value.length) {
|
|
20938
21253
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
20939
21254
|
var listItems_3;
|
|
21255
|
+
var skipExpensiveQuery = this.mode === 'CheckBox' && this.enableVirtualization && this.value.length > this.getSummaryTagThreshold();
|
|
20940
21256
|
if (this.enableVirtualization) {
|
|
20941
21257
|
var fields = !this.isPrimitiveData ? this.fields.value : '';
|
|
20942
21258
|
var predicate = void 0;
|
|
@@ -20972,16 +21288,57 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
20972
21288
|
});
|
|
20973
21289
|
}
|
|
20974
21290
|
else {
|
|
20975
|
-
|
|
20976
|
-
|
|
20977
|
-
|
|
20978
|
-
|
|
20979
|
-
|
|
21291
|
+
if (!skipExpensiveQuery) {
|
|
21292
|
+
listItems_3 = this.executeLocalForLargeSelection(this.dataSource, this.value, {
|
|
21293
|
+
fields: this.fields,
|
|
21294
|
+
allowObjectBinding: this.allowObjectBinding,
|
|
21295
|
+
isPrimitiveData: this.isPrimitiveData
|
|
21296
|
+
});
|
|
21297
|
+
}
|
|
20980
21298
|
}
|
|
20981
21299
|
}
|
|
20982
21300
|
if (!(this.dataSource instanceof DataManager)) {
|
|
20983
|
-
|
|
20984
|
-
|
|
21301
|
+
if (skipExpensiveQuery && !listItems_3) {
|
|
21302
|
+
var ds = this.dataSource;
|
|
21303
|
+
var textMap = {};
|
|
21304
|
+
if (!this.isPrimitiveData) {
|
|
21305
|
+
var vf = (this.fields && this.fields.value) || 'value';
|
|
21306
|
+
var tf = (this.fields && this.fields.text) || 'text';
|
|
21307
|
+
for (var k = 0; k < ds.length; k++) {
|
|
21308
|
+
var it_1 = ds[k];
|
|
21309
|
+
if (it_1) {
|
|
21310
|
+
var vk = getValue(vf, it_1);
|
|
21311
|
+
if (vk !== undefined && vk !== null) {
|
|
21312
|
+
var tv = getValue(tf, it_1);
|
|
21313
|
+
textMap[String(vk)] = tv == null ? String(vk) : String(tv);
|
|
21314
|
+
}
|
|
21315
|
+
}
|
|
21316
|
+
}
|
|
21317
|
+
}
|
|
21318
|
+
var parts = new Array(this.value.length);
|
|
21319
|
+
if (this.isPrimitiveData) {
|
|
21320
|
+
for (var i2 = 0; i2 < this.value.length; i2++) {
|
|
21321
|
+
parts[i2] = String(this.value[i2]);
|
|
21322
|
+
}
|
|
21323
|
+
}
|
|
21324
|
+
else {
|
|
21325
|
+
var fName = (this.fields && this.fields.value) || 'value';
|
|
21326
|
+
for (var i2 = 0; i2 < this.value.length; i2++) {
|
|
21327
|
+
var raw = this.allowObjectBinding
|
|
21328
|
+
? getValue(fName, this.value[i2])
|
|
21329
|
+
: this.value[i2];
|
|
21330
|
+
var key = raw == null ? '' : String(raw);
|
|
21331
|
+
parts[i2] = textMap[key] != null ? textMap[key] : (key);
|
|
21332
|
+
}
|
|
21333
|
+
}
|
|
21334
|
+
this.setProperties({ text: parts.join(this.delimiterChar) }, true);
|
|
21335
|
+
this.updateDelimView();
|
|
21336
|
+
this.initialUpdate();
|
|
21337
|
+
}
|
|
21338
|
+
else {
|
|
21339
|
+
this.initialValueUpdate(listItems_3, true, isInitialRender);
|
|
21340
|
+
this.initialUpdate();
|
|
21341
|
+
}
|
|
20985
21342
|
}
|
|
20986
21343
|
else {
|
|
20987
21344
|
this.setInitialValue = function () {
|
|
@@ -21471,6 +21828,12 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
21471
21828
|
__decorate$5([
|
|
21472
21829
|
Property('Default')
|
|
21473
21830
|
], MultiSelect.prototype, "mode", void 0);
|
|
21831
|
+
__decorate$5([
|
|
21832
|
+
Property(0)
|
|
21833
|
+
], MultiSelect.prototype, "summaryTagCount", void 0);
|
|
21834
|
+
__decorate$5([
|
|
21835
|
+
Property('${selectedCount} items selected')
|
|
21836
|
+
], MultiSelect.prototype, "summaryTagTemplate", void 0);
|
|
21474
21837
|
__decorate$5([
|
|
21475
21838
|
Property(',')
|
|
21476
21839
|
], MultiSelect.prototype, "delimiterChar", void 0);
|
|
@@ -25873,8 +26236,12 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
25873
26236
|
}
|
|
25874
26237
|
this.isTyped = false;
|
|
25875
26238
|
range.collapse(false);
|
|
25876
|
-
|
|
25877
|
-
|
|
26239
|
+
var node = range.startContainer;
|
|
26240
|
+
var clientRects = node.nodeType === Node.TEXT_NODE ? node.parentElement.getClientRects()
|
|
26241
|
+
: node.getClientRects();
|
|
26242
|
+
rect = range.getBoundingClientRect().top === 0 ?
|
|
26243
|
+
(clientRects && clientRects.length ? clientRects[0] : range.getBoundingClientRect())
|
|
26244
|
+
: range.getBoundingClientRect();
|
|
25878
26245
|
}
|
|
25879
26246
|
var rectTop = rect.top;
|
|
25880
26247
|
var rectLeft = rect.left;
|