@syncfusion/ej2-dropdowns 29.1.41 → 29.2.4-850322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{README.md → ReadMe.md} +217 -217
- package/dist/ej2-dropdowns.umd.min.js +1 -10
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +299 -153
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +467 -319
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/license +2 -2
- package/package.json +81 -81
- package/src/auto-complete/auto-complete-model.d.ts +190 -190
- package/src/auto-complete/auto-complete.d.ts +13 -12
- package/src/auto-complete/auto-complete.js +30 -22
- package/src/combo-box/combo-box-model.d.ts +232 -240
- package/src/combo-box/combo-box.d.ts +26 -33
- package/src/combo-box/combo-box.js +29 -32
- package/src/common/virtual-scroll.js +54 -49
- package/src/drop-down-base/drop-down-base-model.d.ts +205 -205
- package/src/drop-down-base/drop-down-base.d.ts +20 -16
- package/src/drop-down-base/drop-down-base.js +74 -30
- package/src/drop-down-list/drop-down-list-model.d.ts +310 -303
- package/src/drop-down-list/drop-down-list.d.ts +12 -5
- package/src/drop-down-list/drop-down-list.js +75 -50
- package/src/drop-down-tree/drop-down-tree-model.d.ts +493 -493
- package/src/drop-down-tree/drop-down-tree.d.ts +2 -1
- package/src/drop-down-tree/drop-down-tree.js +30 -19
- package/src/list-box/list-box-model.d.ts +237 -237
- package/src/list-box/list-box.d.ts +2 -2
- package/src/list-box/list-box.js +19 -19
- package/src/mention/mention-model.d.ts +274 -267
- package/src/mention/mention.d.ts +9 -1
- package/src/mention/mention.js +49 -36
- package/src/multi-select/multi-select-model.d.ts +565 -558
- package/src/multi-select/multi-select.d.ts +11 -1
- package/src/multi-select/multi-select.js +109 -64
- package/styles/bds-lite.css +0 -3040
- package/styles/bds-lite.scss +0 -28
- package/styles/bds.css +0 -3890
- package/styles/bds.scss +0 -33
- package/styles/bootstrap-dark-lite.css +0 -2826
- package/styles/bootstrap-dark-lite.scss +0 -28
- package/styles/bootstrap-dark.css +0 -3520
- package/styles/bootstrap-dark.scss +0 -33
- package/styles/bootstrap-lite.css +0 -2822
- package/styles/bootstrap-lite.scss +0 -28
- package/styles/bootstrap.css +0 -3522
- package/styles/bootstrap.scss +0 -33
- package/styles/bootstrap4-lite.css +0 -2927
- package/styles/bootstrap4-lite.scss +0 -28
- package/styles/bootstrap4.css +0 -3796
- package/styles/bootstrap4.scss +0 -33
- package/styles/bootstrap5-dark-lite.css +0 -2906
- package/styles/bootstrap5-dark-lite.scss +0 -28
- package/styles/bootstrap5-dark.css +0 -3695
- package/styles/bootstrap5-dark.scss +0 -33
- package/styles/bootstrap5-lite.css +0 -2906
- package/styles/bootstrap5-lite.scss +0 -28
- package/styles/bootstrap5.3-lite.css +0 -2898
- package/styles/bootstrap5.3-lite.scss +0 -28
- package/styles/bootstrap5.3.css +0 -3644
- package/styles/bootstrap5.3.scss +0 -33
- package/styles/bootstrap5.css +0 -3695
- package/styles/bootstrap5.scss +0 -33
- package/styles/fabric-dark-lite.css +0 -2804
- package/styles/fabric-dark-lite.scss +0 -28
- package/styles/fabric-dark.css +0 -3500
- package/styles/fabric-dark.scss +0 -33
- package/styles/fabric-lite.css +0 -2800
- package/styles/fabric-lite.scss +0 -28
- package/styles/fabric.css +0 -3502
- package/styles/fabric.scss +0 -33
- package/styles/fluent-dark-lite.css +0 -2931
- package/styles/fluent-dark-lite.scss +0 -28
- package/styles/fluent-dark.css +0 -3730
- package/styles/fluent-dark.scss +0 -33
- package/styles/fluent-lite.css +0 -2931
- package/styles/fluent-lite.scss +0 -28
- package/styles/fluent.css +0 -3730
- package/styles/fluent.scss +0 -33
- package/styles/fluent2-lite.css +0 -3122
- package/styles/fluent2-lite.scss +0 -28
- package/styles/fluent2.css +0 -3915
- package/styles/fluent2.scss +0 -33
- package/styles/highcontrast-light-lite.css +0 -2903
- package/styles/highcontrast-light-lite.scss +0 -28
- package/styles/highcontrast-light.css +0 -3591
- package/styles/highcontrast-light.scss +0 -33
- package/styles/highcontrast-lite.css +0 -2949
- package/styles/highcontrast-lite.scss +0 -28
- package/styles/highcontrast.css +0 -3643
- package/styles/highcontrast.scss +0 -33
- package/styles/material-dark-lite.css +0 -3587
- package/styles/material-dark-lite.scss +0 -28
- package/styles/material-dark.css +0 -5060
- package/styles/material-dark.scss +0 -33
- package/styles/material-lite.css +0 -3618
- package/styles/material-lite.scss +0 -28
- package/styles/material.css +0 -5118
- package/styles/material.scss +0 -33
- package/styles/material3-dark-lite.css +0 -3521
- package/styles/material3-dark-lite.scss +0 -28
- package/styles/material3-dark.css +0 -5109
- package/styles/material3-dark.scss +0 -35
- package/styles/material3-lite.css +0 -3523
- package/styles/material3-lite.scss +0 -28
- package/styles/material3.css +0 -5111
- package/styles/material3.scss +0 -35
- package/styles/tailwind-dark-lite.css +0 -2877
- package/styles/tailwind-dark-lite.scss +0 -28
- package/styles/tailwind-dark.css +0 -3727
- package/styles/tailwind-dark.scss +0 -33
- package/styles/tailwind-lite.css +0 -2877
- package/styles/tailwind-lite.scss +0 -28
- package/styles/tailwind.css +0 -3727
- package/styles/tailwind.scss +0 -33
- package/styles/tailwind3-lite.css +0 -2920
- package/styles/tailwind3-lite.scss +0 -28
- package/styles/tailwind3.css +0 -3596
- package/styles/tailwind3.scss +0 -33
- package/.eslintrc.json +0 -261
- package/dist/ej2-dropdowns.min.js +0 -10
- package/dist/global/ej2-dropdowns.min.js +0 -11
- package/dist/global/ej2-dropdowns.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/helpers/e2e/autocomplete.d.ts +0 -16
- package/helpers/e2e/autocomplete.js +0 -60
- package/helpers/e2e/combobox.d.ts +0 -17
- package/helpers/e2e/combobox.js +0 -63
- package/helpers/e2e/dropdownlist.d.ts +0 -20
- package/helpers/e2e/dropdownlist.js +0 -72
- package/helpers/e2e/index.d.ts +0 -4
- package/helpers/e2e/index.js +0 -11
- package/helpers/e2e/listboxHelper.d.ts +0 -22
- package/helpers/e2e/listboxHelper.js +0 -56
- package/helpers/e2e/multiselect.d.ts +0 -31
- package/helpers/e2e/multiselect.js +0 -105
- package/styles/auto-complete/_all.scss +0 -1
- package/styles/auto-complete/_bds-definition.scss +0 -2
- package/styles/auto-complete/_bootstrap-dark-definition.scss +0 -3
- package/styles/auto-complete/_bootstrap-definition.scss +0 -2
- package/styles/auto-complete/_bootstrap4-definition.scss +0 -11
- package/styles/auto-complete/_bootstrap5-dark-definition.scss +0 -1
- package/styles/auto-complete/_bootstrap5-definition.scss +0 -2
- package/styles/auto-complete/_bootstrap5.3-definition.scss +0 -2
- package/styles/auto-complete/_fabric-dark-definition.scss +0 -2
- package/styles/auto-complete/_fabric-definition.scss +0 -2
- package/styles/auto-complete/_fluent-dark-definition.scss +0 -1
- package/styles/auto-complete/_fluent-definition.scss +0 -2
- package/styles/auto-complete/_fluent2-definition.scss +0 -2
- package/styles/auto-complete/_fusionnew-definition.scss +0 -2
- package/styles/auto-complete/_highcontrast-definition.scss +0 -2
- package/styles/auto-complete/_highcontrast-light-definition.scss +0 -2
- package/styles/auto-complete/_material-dark-definition.scss +0 -2
- package/styles/auto-complete/_material-definition.scss +0 -2
- package/styles/auto-complete/_material3-dark-definition.scss +0 -1
- package/styles/auto-complete/_material3-definition.scss +0 -2
- package/styles/auto-complete/_tailwind-dark-definition.scss +0 -1
- package/styles/auto-complete/_tailwind-definition.scss +0 -2
- package/styles/auto-complete/_tailwind3-definition.scss +0 -2
- package/styles/auto-complete/bds.css +0 -75
- package/styles/auto-complete/bds.scss +0 -4
- package/styles/auto-complete/bootstrap-dark.css +0 -59
- package/styles/auto-complete/bootstrap-dark.scss +0 -4
- package/styles/auto-complete/bootstrap.css +0 -59
- package/styles/auto-complete/bootstrap.scss +0 -4
- package/styles/auto-complete/bootstrap4.css +0 -95
- package/styles/auto-complete/bootstrap4.scss +0 -4
- package/styles/auto-complete/bootstrap5-dark.css +0 -97
- package/styles/auto-complete/bootstrap5-dark.scss +0 -4
- package/styles/auto-complete/bootstrap5.3.css +0 -101
- package/styles/auto-complete/bootstrap5.3.scss +0 -4
- package/styles/auto-complete/bootstrap5.css +0 -97
- package/styles/auto-complete/bootstrap5.scss +0 -4
- package/styles/auto-complete/fabric-dark.css +0 -35
- package/styles/auto-complete/fabric-dark.scss +0 -4
- package/styles/auto-complete/fabric.css +0 -35
- package/styles/auto-complete/fabric.scss +0 -4
- package/styles/auto-complete/fluent-dark.css +0 -90
- package/styles/auto-complete/fluent-dark.scss +0 -4
- package/styles/auto-complete/fluent.css +0 -90
- package/styles/auto-complete/fluent.scss +0 -4
- package/styles/auto-complete/fluent2.css +0 -77
- package/styles/auto-complete/fluent2.scss +0 -4
- package/styles/auto-complete/highcontrast-light.css +0 -44
- package/styles/auto-complete/highcontrast-light.scss +0 -4
- package/styles/auto-complete/highcontrast.css +0 -44
- package/styles/auto-complete/highcontrast.scss +0 -4
- package/styles/auto-complete/material-dark.css +0 -84
- package/styles/auto-complete/material-dark.scss +0 -4
- package/styles/auto-complete/material.css +0 -88
- package/styles/auto-complete/material.scss +0 -4
- package/styles/auto-complete/material3-dark.css +0 -96
- package/styles/auto-complete/material3-dark.scss +0 -5
- package/styles/auto-complete/material3.css +0 -98
- package/styles/auto-complete/material3.scss +0 -5
- package/styles/auto-complete/tailwind-dark.css +0 -71
- package/styles/auto-complete/tailwind-dark.scss +0 -4
- package/styles/auto-complete/tailwind.css +0 -71
- package/styles/auto-complete/tailwind.scss +0 -4
- package/styles/auto-complete/tailwind3.css +0 -101
- package/styles/auto-complete/tailwind3.scss +0 -4
- package/styles/combo-box/_all.scss +0 -1
- package/styles/combo-box/_bds-definition.scss +0 -2
- package/styles/combo-box/_bootstrap-dark-definition.scss +0 -2
- package/styles/combo-box/_bootstrap-definition.scss +0 -2
- package/styles/combo-box/_bootstrap4-definition.scss +0 -11
- package/styles/combo-box/_bootstrap5-dark-definition.scss +0 -1
- package/styles/combo-box/_bootstrap5-definition.scss +0 -2
- package/styles/combo-box/_bootstrap5.3-definition.scss +0 -2
- package/styles/combo-box/_fabric-dark-definition.scss +0 -2
- package/styles/combo-box/_fabric-definition.scss +0 -2
- package/styles/combo-box/_fluent-dark-definition.scss +0 -1
- package/styles/combo-box/_fluent-definition.scss +0 -2
- package/styles/combo-box/_fluent2-definition.scss +0 -2
- package/styles/combo-box/_fusionnew-definition.scss +0 -2
- package/styles/combo-box/_highcontrast-definition.scss +0 -2
- package/styles/combo-box/_highcontrast-light-definition.scss +0 -3
- package/styles/combo-box/_material-dark-definition.scss +0 -2
- package/styles/combo-box/_material-definition.scss +0 -2
- package/styles/combo-box/_material3-dark-definition.scss +0 -1
- package/styles/combo-box/_material3-definition.scss +0 -2
- package/styles/combo-box/_tailwind-dark-definition.scss +0 -1
- package/styles/combo-box/_tailwind-definition.scss +0 -2
- package/styles/combo-box/_tailwind3-definition.scss +0 -2
- package/styles/combo-box/bds.css +0 -75
- package/styles/combo-box/bds.scss +0 -4
- package/styles/combo-box/bootstrap-dark.css +0 -59
- package/styles/combo-box/bootstrap-dark.scss +0 -4
- package/styles/combo-box/bootstrap.css +0 -59
- package/styles/combo-box/bootstrap.scss +0 -4
- package/styles/combo-box/bootstrap4.css +0 -95
- package/styles/combo-box/bootstrap4.scss +0 -4
- package/styles/combo-box/bootstrap5-dark.css +0 -97
- package/styles/combo-box/bootstrap5-dark.scss +0 -4
- package/styles/combo-box/bootstrap5.3.css +0 -101
- package/styles/combo-box/bootstrap5.3.scss +0 -4
- package/styles/combo-box/bootstrap5.css +0 -97
- package/styles/combo-box/bootstrap5.scss +0 -4
- package/styles/combo-box/fabric-dark.css +0 -35
- package/styles/combo-box/fabric-dark.scss +0 -4
- package/styles/combo-box/fabric.css +0 -35
- package/styles/combo-box/fabric.scss +0 -4
- package/styles/combo-box/fluent-dark.css +0 -90
- package/styles/combo-box/fluent-dark.scss +0 -4
- package/styles/combo-box/fluent.css +0 -90
- package/styles/combo-box/fluent.scss +0 -4
- package/styles/combo-box/fluent2.css +0 -77
- package/styles/combo-box/fluent2.scss +0 -4
- package/styles/combo-box/highcontrast-light.css +0 -44
- package/styles/combo-box/highcontrast-light.scss +0 -4
- package/styles/combo-box/highcontrast.css +0 -44
- package/styles/combo-box/highcontrast.scss +0 -4
- package/styles/combo-box/material-dark.css +0 -84
- package/styles/combo-box/material-dark.scss +0 -4
- package/styles/combo-box/material.css +0 -88
- package/styles/combo-box/material.scss +0 -4
- package/styles/combo-box/material3-dark.css +0 -96
- package/styles/combo-box/material3-dark.scss +0 -5
- package/styles/combo-box/material3.css +0 -98
- package/styles/combo-box/material3.scss +0 -5
- package/styles/combo-box/tailwind-dark.css +0 -71
- package/styles/combo-box/tailwind-dark.scss +0 -4
- package/styles/combo-box/tailwind.css +0 -71
- package/styles/combo-box/tailwind.scss +0 -4
- package/styles/combo-box/tailwind3.css +0 -101
- package/styles/combo-box/tailwind3.scss +0 -4
- package/styles/drop-down-base/_all.scss +0 -2
- package/styles/drop-down-base/_bds-definition.scss +0 -112
- package/styles/drop-down-base/_bigger.scss +0 -198
- package/styles/drop-down-base/_bootstrap-dark-definition.scss +0 -80
- package/styles/drop-down-base/_bootstrap-definition.scss +0 -78
- package/styles/drop-down-base/_bootstrap4-definition.scss +0 -83
- package/styles/drop-down-base/_bootstrap5-dark-definition.scss +0 -1
- package/styles/drop-down-base/_bootstrap5-definition.scss +0 -98
- package/styles/drop-down-base/_bootstrap5.3-definition.scss +0 -98
- package/styles/drop-down-base/_definition.scss +0 -23
- package/styles/drop-down-base/_fabric-dark-definition.scss +0 -81
- package/styles/drop-down-base/_fabric-definition.scss +0 -79
- package/styles/drop-down-base/_fluent-dark-definition.scss +0 -1
- package/styles/drop-down-base/_fluent-definition.scss +0 -102
- package/styles/drop-down-base/_fluent2-definition.scss +0 -113
- package/styles/drop-down-base/_fusionnew-definition.scss +0 -98
- package/styles/drop-down-base/_highcontrast-definition.scss +0 -96
- package/styles/drop-down-base/_highcontrast-light-definition.scss +0 -96
- package/styles/drop-down-base/_layout.scss +0 -148
- package/styles/drop-down-base/_material-dark-definition.scss +0 -82
- package/styles/drop-down-base/_material-definition.scss +0 -81
- package/styles/drop-down-base/_material3-dark-definition.scss +0 -1
- package/styles/drop-down-base/_material3-definition.scss +0 -73
- package/styles/drop-down-base/_tailwind-dark-definition.scss +0 -1
- package/styles/drop-down-base/_tailwind-definition.scss +0 -107
- package/styles/drop-down-base/_tailwind3-definition.scss +0 -98
- package/styles/drop-down-base/_theme.scss +0 -303
- package/styles/drop-down-base/bds.css +0 -496
- package/styles/drop-down-base/bds.scss +0 -4
- package/styles/drop-down-base/bootstrap-dark.css +0 -379
- package/styles/drop-down-base/bootstrap-dark.scss +0 -4
- package/styles/drop-down-base/bootstrap.css +0 -379
- package/styles/drop-down-base/bootstrap.scss +0 -4
- package/styles/drop-down-base/bootstrap4.css +0 -389
- package/styles/drop-down-base/bootstrap4.scss +0 -4
- package/styles/drop-down-base/bootstrap5-dark.css +0 -411
- package/styles/drop-down-base/bootstrap5-dark.scss +0 -4
- package/styles/drop-down-base/bootstrap5.3.css +0 -415
- package/styles/drop-down-base/bootstrap5.3.scss +0 -4
- package/styles/drop-down-base/bootstrap5.css +0 -411
- package/styles/drop-down-base/bootstrap5.scss +0 -4
- package/styles/drop-down-base/fabric-dark.css +0 -379
- package/styles/drop-down-base/fabric-dark.scss +0 -4
- package/styles/drop-down-base/fabric.css +0 -379
- package/styles/drop-down-base/fabric.scss +0 -4
- package/styles/drop-down-base/fluent-dark.css +0 -427
- package/styles/drop-down-base/fluent-dark.scss +0 -4
- package/styles/drop-down-base/fluent.css +0 -427
- package/styles/drop-down-base/fluent.scss +0 -4
- package/styles/drop-down-base/fluent2.css +0 -427
- package/styles/drop-down-base/fluent2.scss +0 -4
- package/styles/drop-down-base/highcontrast-light.css +0 -391
- package/styles/drop-down-base/highcontrast-light.scss +0 -4
- package/styles/drop-down-base/highcontrast.css +0 -391
- package/styles/drop-down-base/highcontrast.scss +0 -4
- package/styles/drop-down-base/material-dark.css +0 -378
- package/styles/drop-down-base/material-dark.scss +0 -4
- package/styles/drop-down-base/material.css +0 -378
- package/styles/drop-down-base/material.scss +0 -4
- package/styles/drop-down-base/material3-dark.css +0 -390
- package/styles/drop-down-base/material3-dark.scss +0 -5
- package/styles/drop-down-base/material3.css +0 -392
- package/styles/drop-down-base/material3.scss +0 -5
- package/styles/drop-down-base/tailwind-dark.css +0 -487
- package/styles/drop-down-base/tailwind-dark.scss +0 -4
- package/styles/drop-down-base/tailwind.css +0 -487
- package/styles/drop-down-base/tailwind.scss +0 -4
- package/styles/drop-down-base/tailwind3.css +0 -392
- package/styles/drop-down-base/tailwind3.scss +0 -4
- package/styles/drop-down-list/_all.scss +0 -3
- package/styles/drop-down-list/_bds-definition.scss +0 -100
- package/styles/drop-down-list/_bigger.scss +0 -713
- package/styles/drop-down-list/_bootstrap-dark-definition.scss +0 -94
- package/styles/drop-down-list/_bootstrap-definition.scss +0 -93
- package/styles/drop-down-list/_bootstrap4-definition.scss +0 -122
- package/styles/drop-down-list/_bootstrap5-dark-definition.scss +0 -1
- package/styles/drop-down-list/_bootstrap5-definition.scss +0 -135
- package/styles/drop-down-list/_bootstrap5.3-definition.scss +0 -136
- package/styles/drop-down-list/_fabric-dark-definition.scss +0 -72
- package/styles/drop-down-list/_fabric-definition.scss +0 -69
- package/styles/drop-down-list/_fluent-dark-definition.scss +0 -1
- package/styles/drop-down-list/_fluent-definition.scss +0 -128
- package/styles/drop-down-list/_fluent2-definition.scss +0 -101
- package/styles/drop-down-list/_fusionnew-definition.scss +0 -134
- package/styles/drop-down-list/_highcontrast-definition.scss +0 -83
- package/styles/drop-down-list/_highcontrast-light-definition.scss +0 -85
- package/styles/drop-down-list/_layout.scss +0 -284
- package/styles/drop-down-list/_material-dark-definition.scss +0 -110
- package/styles/drop-down-list/_material-definition.scss +0 -112
- package/styles/drop-down-list/_material3-dark-definition.scss +0 -1
- package/styles/drop-down-list/_material3-definition.scss +0 -114
- package/styles/drop-down-list/_tailwind-dark-definition.scss +0 -1
- package/styles/drop-down-list/_tailwind-definition.scss +0 -100
- package/styles/drop-down-list/_tailwind3-definition.scss +0 -135
- package/styles/drop-down-list/_theme.scss +0 -17
- package/styles/drop-down-list/bds.css +0 -622
- package/styles/drop-down-list/bds.scss +0 -10
- package/styles/drop-down-list/bootstrap-dark.css +0 -464
- package/styles/drop-down-list/bootstrap-dark.scss +0 -10
- package/styles/drop-down-list/bootstrap.css +0 -466
- package/styles/drop-down-list/bootstrap.scss +0 -10
- package/styles/drop-down-list/bootstrap4.css +0 -511
- package/styles/drop-down-list/bootstrap4.scss +0 -10
- package/styles/drop-down-list/bootstrap5-dark.css +0 -510
- package/styles/drop-down-list/bootstrap5-dark.scss +0 -10
- package/styles/drop-down-list/bootstrap5.3.css +0 -515
- package/styles/drop-down-list/bootstrap5.3.scss +0 -10
- package/styles/drop-down-list/bootstrap5.css +0 -510
- package/styles/drop-down-list/bootstrap5.scss +0 -10
- package/styles/drop-down-list/fabric-dark.css +0 -439
- package/styles/drop-down-list/fabric-dark.scss +0 -10
- package/styles/drop-down-list/fabric.css +0 -439
- package/styles/drop-down-list/fabric.scss +0 -10
- package/styles/drop-down-list/fluent-dark.css +0 -483
- package/styles/drop-down-list/fluent-dark.scss +0 -10
- package/styles/drop-down-list/fluent.css +0 -483
- package/styles/drop-down-list/fluent.scss +0 -10
- package/styles/drop-down-list/fluent2.css +0 -666
- package/styles/drop-down-list/fluent2.scss +0 -10
- package/styles/drop-down-list/highcontrast-light.css +0 -440
- package/styles/drop-down-list/highcontrast-light.scss +0 -10
- package/styles/drop-down-list/highcontrast.css +0 -455
- package/styles/drop-down-list/highcontrast.scss +0 -10
- package/styles/drop-down-list/icons/_bds.scss +0 -14
- package/styles/drop-down-list/icons/_bootstrap-dark.scss +0 -18
- package/styles/drop-down-list/icons/_bootstrap.scss +0 -18
- package/styles/drop-down-list/icons/_bootstrap4.scss +0 -18
- package/styles/drop-down-list/icons/_bootstrap5-dark.scss +0 -1
- package/styles/drop-down-list/icons/_bootstrap5.3.scss +0 -18
- package/styles/drop-down-list/icons/_bootstrap5.scss +0 -18
- package/styles/drop-down-list/icons/_fabric-dark.scss +0 -18
- package/styles/drop-down-list/icons/_fabric.scss +0 -18
- package/styles/drop-down-list/icons/_fluent-dark.scss +0 -1
- package/styles/drop-down-list/icons/_fluent.scss +0 -18
- package/styles/drop-down-list/icons/_fluent2.scss +0 -18
- package/styles/drop-down-list/icons/_fusionnew.scss +0 -14
- package/styles/drop-down-list/icons/_highcontrast-light.scss +0 -14
- package/styles/drop-down-list/icons/_highcontrast.scss +0 -18
- package/styles/drop-down-list/icons/_material-dark.scss +0 -18
- package/styles/drop-down-list/icons/_material.scss +0 -18
- package/styles/drop-down-list/icons/_material3-dark.scss +0 -1
- package/styles/drop-down-list/icons/_material3.scss +0 -18
- package/styles/drop-down-list/icons/_tailwind-dark.scss +0 -1
- package/styles/drop-down-list/icons/_tailwind.scss +0 -18
- package/styles/drop-down-list/icons/_tailwind3.scss +0 -14
- package/styles/drop-down-list/material-dark.css +0 -487
- package/styles/drop-down-list/material-dark.scss +0 -10
- package/styles/drop-down-list/material.css +0 -526
- package/styles/drop-down-list/material.scss +0 -10
- package/styles/drop-down-list/material3-dark.css +0 -545
- package/styles/drop-down-list/material3-dark.scss +0 -11
- package/styles/drop-down-list/material3.css +0 -547
- package/styles/drop-down-list/material3.scss +0 -11
- package/styles/drop-down-list/tailwind-dark.css +0 -472
- package/styles/drop-down-list/tailwind-dark.scss +0 -10
- package/styles/drop-down-list/tailwind.css +0 -472
- package/styles/drop-down-list/tailwind.scss +0 -10
- package/styles/drop-down-list/tailwind3.css +0 -469
- package/styles/drop-down-list/tailwind3.scss +0 -10
- package/styles/drop-down-tree/_all.scss +0 -2
- package/styles/drop-down-tree/_bds-definition.scss +0 -75
- package/styles/drop-down-tree/_bigger.scss +0 -561
- package/styles/drop-down-tree/_bootstrap-dark-definition.scss +0 -82
- package/styles/drop-down-tree/_bootstrap-definition.scss +0 -81
- package/styles/drop-down-tree/_bootstrap4-definition.scss +0 -85
- package/styles/drop-down-tree/_bootstrap5-dark-definition.scss +0 -1
- package/styles/drop-down-tree/_bootstrap5-definition.scss +0 -74
- package/styles/drop-down-tree/_bootstrap5.3-definition.scss +0 -74
- package/styles/drop-down-tree/_fabric-dark-definition.scss +0 -82
- package/styles/drop-down-tree/_fabric-definition.scss +0 -82
- package/styles/drop-down-tree/_fluent-dark-definition.scss +0 -1
- package/styles/drop-down-tree/_fluent-definition.scss +0 -79
- package/styles/drop-down-tree/_fluent2-definition.scss +0 -86
- package/styles/drop-down-tree/_fusionnew-definition.scss +0 -70
- package/styles/drop-down-tree/_highcontrast-definition.scss +0 -82
- package/styles/drop-down-tree/_highcontrast-light-definition.scss +0 -82
- package/styles/drop-down-tree/_layout.scss +0 -942
- package/styles/drop-down-tree/_material-dark-definition.scss +0 -83
- package/styles/drop-down-tree/_material-definition.scss +0 -85
- package/styles/drop-down-tree/_material3-dark-definition.scss +0 -1
- package/styles/drop-down-tree/_material3-definition.scss +0 -84
- package/styles/drop-down-tree/_tailwind-dark-definition.scss +0 -1
- package/styles/drop-down-tree/_tailwind-definition.scss +0 -75
- package/styles/drop-down-tree/_tailwind3-definition.scss +0 -75
- package/styles/drop-down-tree/_theme.scss +0 -135
- package/styles/drop-down-tree/bds.css +0 -730
- package/styles/drop-down-tree/bds.scss +0 -10
- package/styles/drop-down-tree/bootstrap-dark.css +0 -485
- package/styles/drop-down-tree/bootstrap-dark.scss +0 -10
- package/styles/drop-down-tree/bootstrap.css +0 -486
- package/styles/drop-down-tree/bootstrap.scss +0 -10
- package/styles/drop-down-tree/bootstrap4.css +0 -515
- package/styles/drop-down-tree/bootstrap4.scss +0 -10
- package/styles/drop-down-tree/bootstrap5-dark.css +0 -547
- package/styles/drop-down-tree/bootstrap5-dark.scss +0 -10
- package/styles/drop-down-tree/bootstrap5.3.css +0 -482
- package/styles/drop-down-tree/bootstrap5.3.scss +0 -10
- package/styles/drop-down-tree/bootstrap5.css +0 -547
- package/styles/drop-down-tree/bootstrap5.scss +0 -10
- package/styles/drop-down-tree/fabric-dark.css +0 -487
- package/styles/drop-down-tree/fabric-dark.scss +0 -10
- package/styles/drop-down-tree/fabric.css +0 -488
- package/styles/drop-down-tree/fabric.scss +0 -10
- package/styles/drop-down-tree/fluent-dark.css +0 -549
- package/styles/drop-down-tree/fluent-dark.scss +0 -10
- package/styles/drop-down-tree/fluent.css +0 -549
- package/styles/drop-down-tree/fluent.scss +0 -10
- package/styles/drop-down-tree/fluent2.css +0 -721
- package/styles/drop-down-tree/fluent2.scss +0 -10
- package/styles/drop-down-tree/highcontrast-light.css +0 -500
- package/styles/drop-down-tree/highcontrast-light.scss +0 -10
- package/styles/drop-down-tree/highcontrast.css +0 -510
- package/styles/drop-down-tree/highcontrast.scss +0 -10
- package/styles/drop-down-tree/icons/_bds.scss +0 -11
- package/styles/drop-down-tree/icons/_bootstrap-dark.scss +0 -11
- package/styles/drop-down-tree/icons/_bootstrap.scss +0 -11
- package/styles/drop-down-tree/icons/_bootstrap4.scss +0 -11
- package/styles/drop-down-tree/icons/_bootstrap5-dark.scss +0 -1
- package/styles/drop-down-tree/icons/_bootstrap5.3.scss +0 -11
- package/styles/drop-down-tree/icons/_bootstrap5.scss +0 -11
- package/styles/drop-down-tree/icons/_fabric-dark.scss +0 -11
- package/styles/drop-down-tree/icons/_fabric.scss +0 -11
- package/styles/drop-down-tree/icons/_fluent-dark.scss +0 -1
- package/styles/drop-down-tree/icons/_fluent.scss +0 -11
- package/styles/drop-down-tree/icons/_fluent2.scss +0 -14
- package/styles/drop-down-tree/icons/_fusionnew.scss +0 -11
- package/styles/drop-down-tree/icons/_highcontrast-light.scss +0 -11
- package/styles/drop-down-tree/icons/_highcontrast.scss +0 -11
- package/styles/drop-down-tree/icons/_material-dark.scss +0 -11
- package/styles/drop-down-tree/icons/_material.scss +0 -11
- package/styles/drop-down-tree/icons/_material3-dark.scss +0 -1
- package/styles/drop-down-tree/icons/_material3.scss +0 -11
- package/styles/drop-down-tree/icons/_tailwind-dark.scss +0 -11
- package/styles/drop-down-tree/icons/_tailwind.scss +0 -11
- package/styles/drop-down-tree/icons/_tailwind3.scss +0 -11
- package/styles/drop-down-tree/material-dark.css +0 -812
- package/styles/drop-down-tree/material-dark.scss +0 -10
- package/styles/drop-down-tree/material.css +0 -836
- package/styles/drop-down-tree/material.scss +0 -10
- package/styles/drop-down-tree/material3-dark.css +0 -494
- package/styles/drop-down-tree/material3-dark.scss +0 -11
- package/styles/drop-down-tree/material3.css +0 -496
- package/styles/drop-down-tree/material3.scss +0 -11
- package/styles/drop-down-tree/tailwind-dark.css +0 -576
- package/styles/drop-down-tree/tailwind-dark.scss +0 -10
- package/styles/drop-down-tree/tailwind.css +0 -576
- package/styles/drop-down-tree/tailwind.scss +0 -10
- package/styles/drop-down-tree/tailwind3.css +0 -536
- package/styles/drop-down-tree/tailwind3.scss +0 -10
- package/styles/list-box/_all.scss +0 -2
- package/styles/list-box/_bds-definition.scss +0 -136
- package/styles/list-box/_bigger.scss +0 -190
- package/styles/list-box/_bootstrap-dark-definition.scss +0 -126
- package/styles/list-box/_bootstrap-definition.scss +0 -119
- package/styles/list-box/_bootstrap4-definition.scss +0 -126
- package/styles/list-box/_bootstrap5-dark-definition.scss +0 -1
- package/styles/list-box/_bootstrap5-definition.scss +0 -121
- package/styles/list-box/_bootstrap5.3-definition.scss +0 -123
- package/styles/list-box/_fabric-dark-definition.scss +0 -124
- package/styles/list-box/_fabric-definition.scss +0 -119
- package/styles/list-box/_fluent-dark-definition.scss +0 -1
- package/styles/list-box/_fluent-definition.scss +0 -120
- package/styles/list-box/_fluent2-definition.scss +0 -121
- package/styles/list-box/_fusionnew-definition.scss +0 -111
- package/styles/list-box/_highcontrast-definition.scss +0 -119
- package/styles/list-box/_highcontrast-light-definition.scss +0 -124
- package/styles/list-box/_layout.scss +0 -496
- package/styles/list-box/_material-dark-definition.scss +0 -124
- package/styles/list-box/_material-definition.scss +0 -119
- package/styles/list-box/_material3-dark-definition.scss +0 -1
- package/styles/list-box/_material3-definition.scss +0 -119
- package/styles/list-box/_tailwind-dark-definition.scss +0 -1
- package/styles/list-box/_tailwind-definition.scss +0 -119
- package/styles/list-box/_tailwind3-definition.scss +0 -123
- package/styles/list-box/_theme.scss +0 -327
- package/styles/list-box/bds.css +0 -971
- package/styles/list-box/bds.scss +0 -6
- package/styles/list-box/bootstrap-dark.css +0 -916
- package/styles/list-box/bootstrap-dark.scss +0 -6
- package/styles/list-box/bootstrap.css +0 -927
- package/styles/list-box/bootstrap.scss +0 -6
- package/styles/list-box/bootstrap4.css +0 -977
- package/styles/list-box/bootstrap4.scss +0 -6
- package/styles/list-box/bootstrap5-dark.css +0 -939
- package/styles/list-box/bootstrap5-dark.scss +0 -6
- package/styles/list-box/bootstrap5.3.css +0 -956
- package/styles/list-box/bootstrap5.3.scss +0 -6
- package/styles/list-box/bootstrap5.css +0 -939
- package/styles/list-box/bootstrap5.scss +0 -6
- package/styles/list-box/fabric-dark.css +0 -916
- package/styles/list-box/fabric-dark.scss +0 -6
- package/styles/list-box/fabric.css +0 -927
- package/styles/list-box/fabric.scss +0 -6
- package/styles/list-box/fluent-dark.css +0 -939
- package/styles/list-box/fluent-dark.scss +0 -6
- package/styles/list-box/fluent.css +0 -939
- package/styles/list-box/fluent.scss +0 -6
- package/styles/list-box/fluent2.css +0 -979
- package/styles/list-box/fluent2.scss +0 -6
- package/styles/list-box/highcontrast-light.css +0 -928
- package/styles/list-box/highcontrast-light.scss +0 -6
- package/styles/list-box/highcontrast.css +0 -939
- package/styles/list-box/highcontrast.scss +0 -6
- package/styles/list-box/icons/_bds.scss +0 -25
- package/styles/list-box/icons/_bootstrap-dark.scss +0 -25
- package/styles/list-box/icons/_bootstrap.scss +0 -25
- package/styles/list-box/icons/_bootstrap4.scss +0 -25
- package/styles/list-box/icons/_bootstrap5-dark.scss +0 -1
- package/styles/list-box/icons/_bootstrap5.3.scss +0 -25
- package/styles/list-box/icons/_bootstrap5.scss +0 -25
- package/styles/list-box/icons/_fabric-dark.scss +0 -25
- package/styles/list-box/icons/_fabric.scss +0 -25
- package/styles/list-box/icons/_fluent-dark.scss +0 -1
- package/styles/list-box/icons/_fluent.scss +0 -25
- package/styles/list-box/icons/_fluent2.scss +0 -25
- package/styles/list-box/icons/_fusionnew.scss +0 -25
- package/styles/list-box/icons/_highcontrast-light.scss +0 -25
- package/styles/list-box/icons/_highcontrast.scss +0 -25
- package/styles/list-box/icons/_material-dark.scss +0 -25
- package/styles/list-box/icons/_material.scss +0 -25
- package/styles/list-box/icons/_material3-dark.scss +0 -1
- package/styles/list-box/icons/_material3.scss +0 -25
- package/styles/list-box/icons/_tailwind-dark.scss +0 -25
- package/styles/list-box/icons/_tailwind.scss +0 -25
- package/styles/list-box/icons/_tailwind3.scss +0 -25
- package/styles/list-box/material-dark.css +0 -916
- package/styles/list-box/material-dark.scss +0 -6
- package/styles/list-box/material.css +0 -927
- package/styles/list-box/material.scss +0 -6
- package/styles/list-box/material3-dark.css +0 -919
- package/styles/list-box/material3-dark.scss +0 -7
- package/styles/list-box/material3.css +0 -921
- package/styles/list-box/material3.scss +0 -7
- package/styles/list-box/tailwind-dark.css +0 -945
- package/styles/list-box/tailwind-dark.scss +0 -6
- package/styles/list-box/tailwind.css +0 -945
- package/styles/list-box/tailwind.scss +0 -6
- package/styles/list-box/tailwind3.css +0 -995
- package/styles/list-box/tailwind3.scss +0 -6
- package/styles/mention/_all.scss +0 -1
- package/styles/mention/_bds-definition.scss +0 -1
- package/styles/mention/_bootstrap-dark-definition.scss +0 -3
- package/styles/mention/_bootstrap-definition.scss +0 -3
- package/styles/mention/_bootstrap4-definition.scss +0 -3
- package/styles/mention/_bootstrap5-dark-definition.scss +0 -1
- package/styles/mention/_bootstrap5-definition.scss +0 -1
- package/styles/mention/_bootstrap5.3-definition.scss +0 -1
- package/styles/mention/_fabric-dark-definition.scss +0 -2
- package/styles/mention/_fabric-definition.scss +0 -3
- package/styles/mention/_fluent-dark-definition.scss +0 -1
- package/styles/mention/_fluent-definition.scss +0 -1
- package/styles/mention/_fluent2-definition.scss +0 -1
- package/styles/mention/_fusionnew-definition.scss +0 -1
- package/styles/mention/_highcontrast-definition.scss +0 -3
- package/styles/mention/_highcontrast-light-definition.scss +0 -3
- package/styles/mention/_layout.scss +0 -6
- package/styles/mention/_material-dark-definition.scss +0 -3
- package/styles/mention/_material-definition.scss +0 -3
- package/styles/mention/_material3-dark-definition.scss +0 -1
- package/styles/mention/_material3-definition.scss +0 -1
- package/styles/mention/_tailwind-dark-definition.scss +0 -1
- package/styles/mention/_tailwind-definition.scss +0 -1
- package/styles/mention/_tailwind3-definition.scss +0 -1
- package/styles/mention/bds.css +0 -78
- package/styles/mention/bds.scss +0 -6
- package/styles/mention/bootstrap-dark.css +0 -48
- package/styles/mention/bootstrap-dark.scss +0 -6
- package/styles/mention/bootstrap.css +0 -48
- package/styles/mention/bootstrap.scss +0 -6
- package/styles/mention/bootstrap4.css +0 -54
- package/styles/mention/bootstrap4.scss +0 -6
- package/styles/mention/bootstrap5-dark.css +0 -63
- package/styles/mention/bootstrap5-dark.scss +0 -6
- package/styles/mention/bootstrap5.3.css +0 -67
- package/styles/mention/bootstrap5.3.scss +0 -6
- package/styles/mention/bootstrap5.css +0 -63
- package/styles/mention/bootstrap5.scss +0 -6
- package/styles/mention/fabric-dark.css +0 -48
- package/styles/mention/fabric-dark.scss +0 -6
- package/styles/mention/fabric.css +0 -48
- package/styles/mention/fabric.scss +0 -6
- package/styles/mention/fluent-dark.css +0 -63
- package/styles/mention/fluent-dark.scss +0 -6
- package/styles/mention/fluent.css +0 -63
- package/styles/mention/fluent.scss +0 -6
- package/styles/mention/fluent2.css +0 -80
- package/styles/mention/fluent2.scss +0 -6
- package/styles/mention/highcontrast-light.css +0 -60
- package/styles/mention/highcontrast-light.scss +0 -6
- package/styles/mention/highcontrast.css +0 -60
- package/styles/mention/highcontrast.scss +0 -6
- package/styles/mention/material-dark.css +0 -48
- package/styles/mention/material-dark.scss +0 -6
- package/styles/mention/material.css +0 -48
- package/styles/mention/material.scss +0 -6
- package/styles/mention/material3-dark.css +0 -53
- package/styles/mention/material3-dark.scss +0 -7
- package/styles/mention/material3.css +0 -55
- package/styles/mention/material3.scss +0 -7
- package/styles/mention/tailwind-dark.css +0 -69
- package/styles/mention/tailwind-dark.scss +0 -6
- package/styles/mention/tailwind.css +0 -69
- package/styles/mention/tailwind.scss +0 -6
- package/styles/mention/tailwind3.css +0 -67
- package/styles/mention/tailwind3.scss +0 -6
- package/styles/multi-select/_all.scss +0 -2
- package/styles/multi-select/_bds-definition.scss +0 -230
- package/styles/multi-select/_bigger.scss +0 -2002
- package/styles/multi-select/_bootstrap-dark-definition.scss +0 -198
- package/styles/multi-select/_bootstrap-definition.scss +0 -187
- package/styles/multi-select/_bootstrap4-definition.scss +0 -236
- package/styles/multi-select/_bootstrap5-dark-definition.scss +0 -1
- package/styles/multi-select/_bootstrap5-definition.scss +0 -229
- package/styles/multi-select/_bootstrap5.3-definition.scss +0 -229
- package/styles/multi-select/_fabric-dark-definition.scss +0 -190
- package/styles/multi-select/_fabric-definition.scss +0 -181
- package/styles/multi-select/_fluent-dark-definition.scss +0 -1
- package/styles/multi-select/_fluent-definition.scss +0 -236
- package/styles/multi-select/_fluent2-definition.scss +0 -234
- package/styles/multi-select/_fusionnew-definition.scss +0 -222
- package/styles/multi-select/_highcontrast-definition.scss +0 -302
- package/styles/multi-select/_highcontrast-light-definition.scss +0 -296
- package/styles/multi-select/_layout.scss +0 -1330
- package/styles/multi-select/_material-dark-definition.scss +0 -248
- package/styles/multi-select/_material-definition.scss +0 -250
- package/styles/multi-select/_material3-dark-definition.scss +0 -1
- package/styles/multi-select/_material3-definition.scss +0 -233
- package/styles/multi-select/_tailwind-dark-definition.scss +0 -1
- package/styles/multi-select/_tailwind-definition.scss +0 -230
- package/styles/multi-select/_tailwind3-definition.scss +0 -227
- package/styles/multi-select/_theme.scss +0 -564
- package/styles/multi-select/bds.css +0 -1579
- package/styles/multi-select/bds.scss +0 -10
- package/styles/multi-select/bootstrap-dark.css +0 -1386
- package/styles/multi-select/bootstrap-dark.scss +0 -10
- package/styles/multi-select/bootstrap.css +0 -1374
- package/styles/multi-select/bootstrap.scss +0 -10
- package/styles/multi-select/bootstrap4.css +0 -1522
- package/styles/multi-select/bootstrap4.scss +0 -10
- package/styles/multi-select/bootstrap5-dark.css +0 -1446
- package/styles/multi-select/bootstrap5-dark.scss +0 -10
- package/styles/multi-select/bootstrap5.3.css +0 -1450
- package/styles/multi-select/bootstrap5.3.scss +0 -10
- package/styles/multi-select/bootstrap5.css +0 -1446
- package/styles/multi-select/bootstrap5.scss +0 -10
- package/styles/multi-select/fabric-dark.css +0 -1389
- package/styles/multi-select/fabric-dark.scss +0 -10
- package/styles/multi-select/fabric.css +0 -1379
- package/styles/multi-select/fabric.scss +0 -10
- package/styles/multi-select/fluent-dark.css +0 -1490
- package/styles/multi-select/fluent-dark.scss +0 -10
- package/styles/multi-select/fluent.css +0 -1490
- package/styles/multi-select/fluent.scss +0 -10
- package/styles/multi-select/fluent2.css +0 -1706
- package/styles/multi-select/fluent2.scss +0 -10
- package/styles/multi-select/highcontrast-light.css +0 -1490
- package/styles/multi-select/highcontrast-light.scss +0 -10
- package/styles/multi-select/highcontrast.css +0 -1506
- package/styles/multi-select/highcontrast.scss +0 -10
- package/styles/multi-select/icons/_bds.scss +0 -26
- package/styles/multi-select/icons/_bootstrap-dark.scss +0 -30
- package/styles/multi-select/icons/_bootstrap.scss +0 -30
- package/styles/multi-select/icons/_bootstrap4.scss +0 -32
- package/styles/multi-select/icons/_bootstrap5-dark.scss +0 -1
- package/styles/multi-select/icons/_bootstrap5.3.scss +0 -30
- package/styles/multi-select/icons/_bootstrap5.scss +0 -30
- package/styles/multi-select/icons/_fabric-dark.scss +0 -30
- package/styles/multi-select/icons/_fabric.scss +0 -30
- package/styles/multi-select/icons/_fluent-dark.scss +0 -1
- package/styles/multi-select/icons/_fluent.scss +0 -38
- package/styles/multi-select/icons/_fluent2.scss +0 -347
- package/styles/multi-select/icons/_fusionnew.scss +0 -26
- package/styles/multi-select/icons/_highcontrast-light.scss +0 -26
- package/styles/multi-select/icons/_highcontrast.scss +0 -30
- package/styles/multi-select/icons/_material-dark.scss +0 -348
- package/styles/multi-select/icons/_material.scss +0 -348
- package/styles/multi-select/icons/_material3-dark.scss +0 -1
- package/styles/multi-select/icons/_material3.scss +0 -350
- package/styles/multi-select/icons/_tailwind-dark.scss +0 -1
- package/styles/multi-select/icons/_tailwind.scss +0 -30
- package/styles/multi-select/icons/_tailwind3.scss +0 -26
- package/styles/multi-select/material-dark.css +0 -2605
- package/styles/multi-select/material-dark.scss +0 -10
- package/styles/multi-select/material.css +0 -2629
- package/styles/multi-select/material.scss +0 -10
- package/styles/multi-select/material3-dark.css +0 -2947
- package/styles/multi-select/material3-dark.scss +0 -11
- package/styles/multi-select/material3.css +0 -2949
- package/styles/multi-select/material3.scss +0 -11
- package/styles/multi-select/tailwind-dark.css +0 -1429
- package/styles/multi-select/tailwind-dark.scss +0 -10
- package/styles/multi-select/tailwind.css +0 -1429
- package/styles/multi-select/tailwind.scss +0 -10
- package/styles/multi-select/tailwind3.css +0 -1402
- package/styles/multi-select/tailwind3.scss +0 -10
- package/tslint.json +0 -111
|
@@ -260,53 +260,53 @@ function revertHighlightSearch(content) {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
var __assign = (undefined && undefined.__assign) || function () {
|
|
264
|
-
__assign = Object.assign || function(t) {
|
|
265
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
266
|
-
s = arguments[i];
|
|
267
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
268
|
-
t[p] = s[p];
|
|
269
|
-
}
|
|
270
|
-
return t;
|
|
271
|
-
};
|
|
272
|
-
return __assign.apply(this, arguments);
|
|
273
|
-
};
|
|
274
|
-
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
275
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
276
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
277
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
278
|
-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
279
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
280
|
-
});
|
|
281
|
-
};
|
|
282
|
-
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
|
283
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
284
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
285
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
286
|
-
function step(op) {
|
|
287
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
288
|
-
while (_) try {
|
|
289
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
290
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
291
|
-
switch (op[0]) {
|
|
292
|
-
case 0: case 1: t = op; break;
|
|
293
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
294
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
295
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
296
|
-
default:
|
|
297
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
298
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
299
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
300
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
301
|
-
if (t[2]) _.ops.pop();
|
|
302
|
-
_.trys.pop(); continue;
|
|
303
|
-
}
|
|
304
|
-
op = body.call(thisArg, _);
|
|
305
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
306
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
307
|
-
}
|
|
308
|
-
};
|
|
309
|
-
var VirtualScroll = /** @
|
|
263
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
264
|
+
__assign = Object.assign || function(t) {
|
|
265
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
266
|
+
s = arguments[i];
|
|
267
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
268
|
+
t[p] = s[p];
|
|
269
|
+
}
|
|
270
|
+
return t;
|
|
271
|
+
};
|
|
272
|
+
return __assign.apply(this, arguments);
|
|
273
|
+
};
|
|
274
|
+
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
275
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
276
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
277
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
278
|
+
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
|
279
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
280
|
+
});
|
|
281
|
+
};
|
|
282
|
+
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
|
|
283
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
284
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
285
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
286
|
+
function step(op) {
|
|
287
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
288
|
+
while (_) try {
|
|
289
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
290
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
291
|
+
switch (op[0]) {
|
|
292
|
+
case 0: case 1: t = op; break;
|
|
293
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
294
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
295
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
296
|
+
default:
|
|
297
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
298
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
299
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
300
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
301
|
+
if (t[2]) _.ops.pop();
|
|
302
|
+
_.trys.pop(); continue;
|
|
303
|
+
}
|
|
304
|
+
op = body.call(thisArg, _);
|
|
305
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
306
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
var VirtualScroll = /** @class */ (function () {
|
|
310
310
|
function VirtualScroll(parent) {
|
|
311
311
|
var _this = this;
|
|
312
312
|
this.sentinelInfo = {
|
|
@@ -545,6 +545,7 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
545
545
|
query = query.skip(this.parent.viewPortInfo.startIndex);
|
|
546
546
|
}
|
|
547
547
|
this.parent.setCurrentView = false;
|
|
548
|
+
this.parent.isPreventScrollAction = true;
|
|
548
549
|
this.parent.resetList(this.parent.dataSource, this.parent.fields, query);
|
|
549
550
|
isResetListCalled = true;
|
|
550
551
|
break;
|
|
@@ -592,6 +593,7 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
592
593
|
}
|
|
593
594
|
}
|
|
594
595
|
this.parent.renderItems(currentData, this.parent.fields, this.component === 'multiselect' && this.parent.mode === 'CheckBox');
|
|
596
|
+
this.parent.updateSelectionList();
|
|
595
597
|
}
|
|
596
598
|
if (this.component === 'multiselect') {
|
|
597
599
|
this.parent.updatevirtualizationList();
|
|
@@ -603,7 +605,8 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
603
605
|
(this.parent.totalItemCount <= this.parent.itemCount))) ? 0 : this.parent.skeletonCount;
|
|
604
606
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
605
607
|
var virtualTrackElement = this.parent.list.getElementsByClassName('e-virtual-ddl')[0];
|
|
606
|
-
|
|
608
|
+
var preventAction = this.component !== 'multiselect' || (this.component === 'multiselect' && ((!(this.parent.dataSource instanceof DataManager))) || (this.parent.dataSource instanceof DataManager && !isResetListCalled));
|
|
609
|
+
if (virtualTrackElement && preventAction) {
|
|
607
610
|
virtualTrackElement.style = this.parent.GetVirtualTrackHeight();
|
|
608
611
|
}
|
|
609
612
|
else if (!virtualTrackElement && this.parent.skeletonCount > 0 && this.parent.popupWrapper) {
|
|
@@ -612,11 +615,13 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
612
615
|
});
|
|
613
616
|
this.parent.popupWrapper.querySelector('.e-dropdownbase').appendChild(virualElement);
|
|
614
617
|
}
|
|
615
|
-
this.parent.
|
|
618
|
+
if (this.component !== 'multiselect' || (this.component === 'multiselect' && ((!(this.parent.dataSource instanceof DataManager))) || (this.parent.dataSource instanceof DataManager && (!isResetListCalled || this.parent.viewPortInfo.startIndex === 0)))) {
|
|
619
|
+
this.parent.UpdateSkeleton();
|
|
620
|
+
}
|
|
616
621
|
this.parent.liCollections = this.parent.list.querySelectorAll('.e-list-item');
|
|
617
622
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
618
623
|
var virtualContentElement = this.parent.list.getElementsByClassName('e-virtual-ddl-content')[0];
|
|
619
|
-
if (virtualContentElement) {
|
|
624
|
+
if (virtualContentElement && preventAction) {
|
|
620
625
|
(virtualContentElement).style = this.parent.getTransformValues();
|
|
621
626
|
}
|
|
622
627
|
if (this.parent.fields.groupBy) {
|
|
@@ -857,26 +862,26 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
857
862
|
return VirtualScroll;
|
|
858
863
|
}());
|
|
859
864
|
|
|
860
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
|
861
|
-
var extendStatics = function (d, b) {
|
|
862
|
-
extendStatics = Object.setPrototypeOf ||
|
|
863
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
864
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
865
|
-
return extendStatics(d, b);
|
|
866
|
-
};
|
|
867
|
-
return function (d, b) {
|
|
868
|
-
extendStatics(d, b);
|
|
869
|
-
function __() { this.constructor = d; }
|
|
870
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
871
|
-
};
|
|
872
|
-
})();
|
|
873
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
874
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
875
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
876
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
877
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
878
|
-
};
|
|
879
|
-
var FieldSettings = /** @
|
|
865
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
866
|
+
var extendStatics = function (d, b) {
|
|
867
|
+
extendStatics = Object.setPrototypeOf ||
|
|
868
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
869
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
870
|
+
return extendStatics(d, b);
|
|
871
|
+
};
|
|
872
|
+
return function (d, b) {
|
|
873
|
+
extendStatics(d, b);
|
|
874
|
+
function __() { this.constructor = d; }
|
|
875
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
876
|
+
};
|
|
877
|
+
})();
|
|
878
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
879
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
880
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
881
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
882
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
883
|
+
};
|
|
884
|
+
var FieldSettings = /** @class */ (function (_super) {
|
|
880
885
|
__extends(FieldSettings, _super);
|
|
881
886
|
function FieldSettings() {
|
|
882
887
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -929,7 +934,7 @@ var HIDE_GROUPLIST = 'e-hide-group-header';
|
|
|
929
934
|
/**
|
|
930
935
|
* DropDownBase component will generate the list items based on given data and act as base class to drop-down related components
|
|
931
936
|
*/
|
|
932
|
-
var DropDownBase = /** @
|
|
937
|
+
var DropDownBase = /** @class */ (function (_super) {
|
|
933
938
|
__extends(DropDownBase, _super);
|
|
934
939
|
/**
|
|
935
940
|
* * Constructor for DropDownBase class
|
|
@@ -989,6 +994,7 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
989
994
|
_this.isDynamicData = false;
|
|
990
995
|
_this.isPrimitiveData = false;
|
|
991
996
|
_this.isCustomFiltering = false;
|
|
997
|
+
_this.debounceTimer = null;
|
|
992
998
|
_this.virtualListInfo = {
|
|
993
999
|
currentPageNumber: null,
|
|
994
1000
|
direction: null,
|
|
@@ -1350,6 +1356,29 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1350
1356
|
isContainSkeleton.firstChild.insertBefore(liElement, isContainSkeleton.firstChild.children[0]);
|
|
1351
1357
|
}
|
|
1352
1358
|
}
|
|
1359
|
+
if (this.getModuleName() === 'multiselect') {
|
|
1360
|
+
for (var i = 0; i < totalSkeletonCount && this.totalItemCount !== this.viewPortInfo.endIndex; i++) {
|
|
1361
|
+
var liElement = this.createElement('li', { className: dropDownBaseClasses.virtualList + " e-virtual-list-end", styles: 'overflow: inherit' });
|
|
1362
|
+
if (this.isVirtualizationEnabled && this.itemTemplate) {
|
|
1363
|
+
liElement.style.height = (this.listItemHeight - parseInt(window.getComputedStyle(this.getItems()[1]).marginBottom, 10)) + 'px';
|
|
1364
|
+
}
|
|
1365
|
+
var skeleton = new Skeleton({
|
|
1366
|
+
shape: 'Text',
|
|
1367
|
+
height: '10px',
|
|
1368
|
+
width: '95%',
|
|
1369
|
+
cssClass: 'e-skeleton-text-end'
|
|
1370
|
+
});
|
|
1371
|
+
skeleton.appendTo(this.createElement('div'));
|
|
1372
|
+
liElement.appendChild(skeleton.element);
|
|
1373
|
+
if (isContainSkeleton.firstChild) {
|
|
1374
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1375
|
+
isContainSkeleton.firstChild.appendChild(liElement);
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
if (this.totalItemCount === this.viewPortInfo.endIndex) {
|
|
1379
|
+
isContainSkeleton.querySelectorAll('.e-virtual-list-end').forEach(function (el) { return el.remove(); });
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1353
1382
|
}
|
|
1354
1383
|
};
|
|
1355
1384
|
DropDownBase.prototype.getLocaleName = function () {
|
|
@@ -1630,7 +1659,9 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1630
1659
|
_this.preventPopupOpen = false;
|
|
1631
1660
|
return;
|
|
1632
1661
|
}
|
|
1662
|
+
var isSetCurrentcall = false;
|
|
1633
1663
|
if (_this.isVirtualizationEnabled && _this.setCurrentView) {
|
|
1664
|
+
isSetCurrentcall = true;
|
|
1634
1665
|
_this.notify('setCurrentViewDataAsync', {
|
|
1635
1666
|
module: 'VirtualScroll'
|
|
1636
1667
|
});
|
|
@@ -1638,7 +1669,8 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1638
1669
|
if (_this.keyboardEvent != null) {
|
|
1639
1670
|
_this.handleVirtualKeyboardActions(_this.keyboardEvent, _this.pageCount);
|
|
1640
1671
|
}
|
|
1641
|
-
|
|
1672
|
+
var preventSkeleton = _this.getModuleName() !== 'multiselect' || (_this.getModuleName() === 'multiselect' && (!(_this.dataSource instanceof DataManager) || (_this.dataSource instanceof DataManager && !isSetCurrentcall)));
|
|
1673
|
+
if (_this.isVirtualizationEnabled && preventSkeleton) {
|
|
1642
1674
|
_this.getFilteringSkeletonCount();
|
|
1643
1675
|
_this.updatePopupPosition();
|
|
1644
1676
|
}
|
|
@@ -1883,10 +1915,12 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1883
1915
|
DropDownBase.prototype.postRender = function (listElement, list, bindEvent) {
|
|
1884
1916
|
if (this.fields.disabled) {
|
|
1885
1917
|
var liCollections = listElement.querySelectorAll('.' + dropDownBaseClasses.li);
|
|
1918
|
+
var data = this.sortOrder !== 'None' ? !isNullOrUndefined(this.fields.groupBy) ?
|
|
1919
|
+
this.sortedData.filter(function (item) { return !('isHeader' in item) || item.isHeader !== true; }) : this.sortedData : this.listData;
|
|
1886
1920
|
for (var index = 0; index < liCollections.length; index++) {
|
|
1887
|
-
if (JSON.parse(JSON.stringify(
|
|
1921
|
+
if (JSON.parse(JSON.stringify(data[index]))[this.fields.disabled]) {
|
|
1888
1922
|
if (!isNullOrUndefined(this.fields.groupBy)) {
|
|
1889
|
-
var item =
|
|
1923
|
+
var item = data[index];
|
|
1890
1924
|
var value = getValue((this.fields.value ? this.fields.value : 'value'), item);
|
|
1891
1925
|
var li = listElement.querySelector('li[data-value="' + value + '"]');
|
|
1892
1926
|
if (!isNullOrUndefined(li)) {
|
|
@@ -1928,6 +1962,18 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1928
1962
|
DropDownBase.prototype.getQuery = function (query) {
|
|
1929
1963
|
return query ? query : this.query ? this.query : new Query();
|
|
1930
1964
|
};
|
|
1965
|
+
DropDownBase.prototype.performFiltering = function (e) {
|
|
1966
|
+
// this is for component wise
|
|
1967
|
+
};
|
|
1968
|
+
DropDownBase.prototype.debouncedFiltering = function (e, debounceDelay) {
|
|
1969
|
+
var _this = this;
|
|
1970
|
+
if (this.debounceTimer !== null) {
|
|
1971
|
+
clearTimeout(this.debounceTimer);
|
|
1972
|
+
}
|
|
1973
|
+
this.debounceTimer = setTimeout(function () {
|
|
1974
|
+
_this.performFiltering(e);
|
|
1975
|
+
}, debounceDelay);
|
|
1976
|
+
};
|
|
1931
1977
|
DropDownBase.prototype.updateVirtualizationProperties = function (itemCount, filtering, isCheckbox) {
|
|
1932
1978
|
this.isVirtualizationEnabled = true;
|
|
1933
1979
|
this.virtualizedItemsCount = itemCount;
|
|
@@ -2101,9 +2147,10 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2101
2147
|
* @param {object[]} listData - Specifies the list of array of data.
|
|
2102
2148
|
* @param {FieldSettingsModel} fields - Maps the columns of the data table and binds the data to the component.
|
|
2103
2149
|
* @param {boolean} isCheckBoxUpdate - Specifies whether the list item is updated with checkbox.
|
|
2150
|
+
* @param {boolean} isClearAll - Specifies whether the current action is clearAll.
|
|
2104
2151
|
* @returns {HTMLElement} Return the list items.
|
|
2105
2152
|
*/
|
|
2106
|
-
DropDownBase.prototype.renderItems = function (listData, fields, isCheckBoxUpdate) {
|
|
2153
|
+
DropDownBase.prototype.renderItems = function (listData, fields, isCheckBoxUpdate, isClearAll) {
|
|
2107
2154
|
var ulElement;
|
|
2108
2155
|
if (this.itemTemplate && listData) {
|
|
2109
2156
|
if (this.getModuleName() === 'multiselect' && this.virtualSelectAll) {
|
|
@@ -2157,7 +2204,7 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2157
2204
|
}
|
|
2158
2205
|
}
|
|
2159
2206
|
else {
|
|
2160
|
-
if (this.getModuleName() === 'multiselect' && this.virtualSelectAll) {
|
|
2207
|
+
if (this.getModuleName() === 'multiselect' && (this.virtualSelectAll && !isClearAll)) {
|
|
2161
2208
|
this.virtualSelectAllData = listData;
|
|
2162
2209
|
listData = listData.slice(this.virtualItemStartIndex, this.virtualItemEndIndex);
|
|
2163
2210
|
}
|
|
@@ -2176,11 +2223,13 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2176
2223
|
oldUlElement = this.list.querySelector('.e-list-parent' + '.e-reorder');
|
|
2177
2224
|
}
|
|
2178
2225
|
if ((listData.length >= this.virtualizedItemsCount && oldUlElement && virtualUlElement) || (oldUlElement && virtualUlElement && this.isAllowFiltering) || (oldUlElement && virtualUlElement && (this.getModuleName() === 'autocomplete' || this.getModuleName() === 'multiselect')) || isRemovedUlelement) {
|
|
2179
|
-
if (!this.
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2226
|
+
if (this.getModuleName() !== 'multiselect' || (this.getModuleName() === 'multiselect' && (!(this.dataSource instanceof DataManager) || (this.dataSource instanceof DataManager && !this.setCurrentView)))) {
|
|
2227
|
+
if (!this.appendUncheckList) {
|
|
2228
|
+
virtualUlElement.replaceChild(ulElement, oldUlElement);
|
|
2229
|
+
}
|
|
2230
|
+
else {
|
|
2231
|
+
virtualUlElement.appendChild(ulElement);
|
|
2232
|
+
}
|
|
2184
2233
|
}
|
|
2185
2234
|
this.updateListElements(listData);
|
|
2186
2235
|
}
|
|
@@ -2894,25 +2943,25 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2894
2943
|
return DropDownBase;
|
|
2895
2944
|
}(Component));
|
|
2896
2945
|
|
|
2897
|
-
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2898
|
-
var extendStatics = function (d, b) {
|
|
2899
|
-
extendStatics = Object.setPrototypeOf ||
|
|
2900
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2901
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2902
|
-
return extendStatics(d, b);
|
|
2903
|
-
};
|
|
2904
|
-
return function (d, b) {
|
|
2905
|
-
extendStatics(d, b);
|
|
2906
|
-
function __() { this.constructor = d; }
|
|
2907
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2908
|
-
};
|
|
2909
|
-
})();
|
|
2910
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2911
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2912
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2913
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2914
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2915
|
-
};
|
|
2946
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2947
|
+
var extendStatics = function (d, b) {
|
|
2948
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2949
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2950
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2951
|
+
return extendStatics(d, b);
|
|
2952
|
+
};
|
|
2953
|
+
return function (d, b) {
|
|
2954
|
+
extendStatics(d, b);
|
|
2955
|
+
function __() { this.constructor = d; }
|
|
2956
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2957
|
+
};
|
|
2958
|
+
})();
|
|
2959
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2960
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2961
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2962
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2963
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2964
|
+
};
|
|
2916
2965
|
// don't use space in classnames
|
|
2917
2966
|
var dropDownListClasses = {
|
|
2918
2967
|
root: 'e-dropdownlist',
|
|
@@ -2960,7 +3009,7 @@ var inputObject = {
|
|
|
2960
3009
|
* dropDownListObj.appendTo("#list");
|
|
2961
3010
|
* ```
|
|
2962
3011
|
*/
|
|
2963
|
-
var DropDownList = /** @
|
|
3012
|
+
var DropDownList = /** @class */ (function (_super) {
|
|
2964
3013
|
__extends$1(DropDownList, _super);
|
|
2965
3014
|
/**
|
|
2966
3015
|
* * Constructor for creating the DropDownList component.
|
|
@@ -4346,7 +4395,8 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
4346
4395
|
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
4347
4396
|
var proxy_1 = this;
|
|
4348
4397
|
// eslint-disable-next-line max-len
|
|
4349
|
-
var duration = (this.
|
|
4398
|
+
var duration = ((this.dataSource instanceof DataManager) && this.groupTemplate) ? 700 :
|
|
4399
|
+
(this.element.tagName === this.getNgDirective() && this.itemTemplate) ? 500 : 100;
|
|
4350
4400
|
if (!this.isSecondClick) {
|
|
4351
4401
|
setTimeout(function () {
|
|
4352
4402
|
proxy_1.cloneElements();
|
|
@@ -4949,8 +4999,31 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
4949
4999
|
var input = this.inputElement;
|
|
4950
5000
|
return { start: Math.abs(input.selectionStart), end: Math.abs(input.selectionEnd) };
|
|
4951
5001
|
};
|
|
4952
|
-
DropDownList.prototype.
|
|
5002
|
+
DropDownList.prototype.performFiltering = function (e) {
|
|
4953
5003
|
var _this = this;
|
|
5004
|
+
this.checkAndResetCache();
|
|
5005
|
+
this.isRequesting = false;
|
|
5006
|
+
var eventArgs = {
|
|
5007
|
+
preventDefaultAction: false,
|
|
5008
|
+
text: this.filterInput.value,
|
|
5009
|
+
updateData: function (dataSource, query, fields) {
|
|
5010
|
+
if (eventArgs.cancel) {
|
|
5011
|
+
return;
|
|
5012
|
+
}
|
|
5013
|
+
_this.isCustomFilter = true;
|
|
5014
|
+
_this.customFilterQuery = query ? query.clone() : query;
|
|
5015
|
+
_this.filteringAction(dataSource, query, fields);
|
|
5016
|
+
},
|
|
5017
|
+
baseEventArgs: e,
|
|
5018
|
+
cancel: false
|
|
5019
|
+
};
|
|
5020
|
+
this.trigger('filtering', eventArgs, function (eventArgs) {
|
|
5021
|
+
if (!eventArgs.cancel && !_this.isCustomFilter && !eventArgs.preventDefaultAction) {
|
|
5022
|
+
_this.filteringAction(_this.dataSource, null, _this.fields);
|
|
5023
|
+
}
|
|
5024
|
+
});
|
|
5025
|
+
};
|
|
5026
|
+
DropDownList.prototype.searchLists = function (e) {
|
|
4954
5027
|
this.isTyped = true;
|
|
4955
5028
|
this.activeIndex = null;
|
|
4956
5029
|
this.isListSearched = true;
|
|
@@ -4960,27 +5033,12 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
4960
5033
|
}
|
|
4961
5034
|
this.isDataFetched = false;
|
|
4962
5035
|
if (this.isFiltering()) {
|
|
4963
|
-
this.
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
if (eventArgs_1.cancel) {
|
|
4970
|
-
return;
|
|
4971
|
-
}
|
|
4972
|
-
_this.isCustomFilter = true;
|
|
4973
|
-
_this.customFilterQuery = query ? query.clone() : query;
|
|
4974
|
-
_this.filteringAction(dataSource, query, fields);
|
|
4975
|
-
},
|
|
4976
|
-
baseEventArgs: e,
|
|
4977
|
-
cancel: false
|
|
4978
|
-
};
|
|
4979
|
-
this.trigger('filtering', eventArgs_1, function (eventArgs) {
|
|
4980
|
-
if (!eventArgs.cancel && !_this.isCustomFilter && !eventArgs.preventDefaultAction) {
|
|
4981
|
-
_this.filteringAction(_this.dataSource, null, _this.fields);
|
|
4982
|
-
}
|
|
4983
|
-
});
|
|
5036
|
+
if (this.typedString !== '' && this.debounceDelay > 0) {
|
|
5037
|
+
this.debouncedFiltering(e, this.debounceDelay);
|
|
5038
|
+
}
|
|
5039
|
+
else {
|
|
5040
|
+
this.performFiltering(e);
|
|
5041
|
+
}
|
|
4984
5042
|
}
|
|
4985
5043
|
};
|
|
4986
5044
|
/**
|
|
@@ -5250,7 +5308,19 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
5250
5308
|
this.dataSource.executeQuery(this.getQuery(this.query).where(new Predicate(checkField_1, 'equal', value_1)))
|
|
5251
5309
|
.then(function (e) {
|
|
5252
5310
|
if (e.result.length > 0) {
|
|
5253
|
-
_this.
|
|
5311
|
+
if (!_this.enableVirtualization) {
|
|
5312
|
+
_this.addItem(e.result, list.length);
|
|
5313
|
+
}
|
|
5314
|
+
else {
|
|
5315
|
+
_this.itemData = e.result[0];
|
|
5316
|
+
var dataItem = _this.getItemData();
|
|
5317
|
+
var value_2 = _this.allowObjectBinding ?
|
|
5318
|
+
_this.getDataByValue(dataItem.value) : dataItem.value;
|
|
5319
|
+
if ((_this.value === dataItem.value && _this.text !== dataItem.text) ||
|
|
5320
|
+
(_this.value !== dataItem.value && _this.text === dataItem.text)) {
|
|
5321
|
+
_this.setProperties({ 'text': dataItem.text ? dataItem.text.toString() : dataItem.text, 'value': value_2 });
|
|
5322
|
+
}
|
|
5323
|
+
}
|
|
5254
5324
|
_this.updateValues();
|
|
5255
5325
|
}
|
|
5256
5326
|
else {
|
|
@@ -5377,10 +5447,10 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
5377
5447
|
DropDownList.prototype.addNewItem = function (listData, newElement) {
|
|
5378
5448
|
var _this = this;
|
|
5379
5449
|
if (!isNullOrUndefined(this.itemData) && !isNullOrUndefined(newElement)) {
|
|
5380
|
-
var
|
|
5450
|
+
var value_3 = this.getItemData().value;
|
|
5381
5451
|
var isExist = listData.some(function (data) {
|
|
5382
|
-
return (((typeof data === 'string' || typeof data === 'number' || typeof data === 'boolean') && data ===
|
|
5383
|
-
(getValue(_this.fields.value, data) ===
|
|
5452
|
+
return (((typeof data === 'string' || typeof data === 'number' || typeof data === 'boolean') && data === value_3) ||
|
|
5453
|
+
(getValue(_this.fields.value, data) === value_3));
|
|
5384
5454
|
});
|
|
5385
5455
|
if (!isExist) {
|
|
5386
5456
|
this.addItem(this.itemData);
|
|
@@ -6755,9 +6825,9 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
6755
6825
|
var listLength_2 = this_1.getItems().length;
|
|
6756
6826
|
var checkField = isNullOrUndefined(this_1.fields.value) ? this_1.fields.text : this_1.fields.value;
|
|
6757
6827
|
this_1.typedString = '';
|
|
6758
|
-
var
|
|
6828
|
+
var value_4 = this_1.allowObjectBinding && !isNullOrUndefined(newProp.value) ?
|
|
6759
6829
|
getValue(checkField, newProp.value) : newProp.value;
|
|
6760
|
-
this_1.dataSource.executeQuery(this_1.getQuery(this_1.query).where(new Predicate(checkField, 'equal',
|
|
6830
|
+
this_1.dataSource.executeQuery(this_1.getQuery(this_1.query).where(new Predicate(checkField, 'equal', value_4)))
|
|
6761
6831
|
.then(function (e) {
|
|
6762
6832
|
if (e.result.length > 0) {
|
|
6763
6833
|
_this.addItem(e.result, listLength_2);
|
|
@@ -7214,6 +7284,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
7214
7284
|
this.inputElement.classList.remove('e-input');
|
|
7215
7285
|
Input.setValue('', this.inputElement, this.floatLabelType, this.showClearButton);
|
|
7216
7286
|
}
|
|
7287
|
+
this.element.removeAttribute('tabindex');
|
|
7217
7288
|
this.element.style.display = 'block';
|
|
7218
7289
|
if (this.inputWrapper.container && this.inputWrapper.container.parentElement) {
|
|
7219
7290
|
if (this.inputWrapper.container.parentElement.tagName === this.getNgDirective()) {
|
|
@@ -7333,6 +7404,9 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
7333
7404
|
__decorate$1([
|
|
7334
7405
|
Property(false)
|
|
7335
7406
|
], DropDownList.prototype, "allowFiltering", void 0);
|
|
7407
|
+
__decorate$1([
|
|
7408
|
+
Property(300)
|
|
7409
|
+
], DropDownList.prototype, "debounceDelay", void 0);
|
|
7336
7410
|
__decorate$1([
|
|
7337
7411
|
Property(true)
|
|
7338
7412
|
], DropDownList.prototype, "isDeviceFullScreen", void 0);
|
|
@@ -7399,25 +7473,25 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
7399
7473
|
return DropDownList;
|
|
7400
7474
|
}(DropDownBase));
|
|
7401
7475
|
|
|
7402
|
-
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
7403
|
-
var extendStatics = function (d, b) {
|
|
7404
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7405
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7406
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7407
|
-
return extendStatics(d, b);
|
|
7408
|
-
};
|
|
7409
|
-
return function (d, b) {
|
|
7410
|
-
extendStatics(d, b);
|
|
7411
|
-
function __() { this.constructor = d; }
|
|
7412
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7413
|
-
};
|
|
7414
|
-
})();
|
|
7415
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7416
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7417
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7418
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7419
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7420
|
-
};
|
|
7476
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
7477
|
+
var extendStatics = function (d, b) {
|
|
7478
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7479
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7480
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7481
|
+
return extendStatics(d, b);
|
|
7482
|
+
};
|
|
7483
|
+
return function (d, b) {
|
|
7484
|
+
extendStatics(d, b);
|
|
7485
|
+
function __() { this.constructor = d; }
|
|
7486
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7487
|
+
};
|
|
7488
|
+
})();
|
|
7489
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7490
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7491
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7492
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7493
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7494
|
+
};
|
|
7421
7495
|
var RTL = 'e-rtl';
|
|
7422
7496
|
var DROPDOWNTREE = 'e-ddt';
|
|
7423
7497
|
var HIDDENELEMENT = 'e-ddt-hidden';
|
|
@@ -7467,7 +7541,7 @@ var OVERFLOW_VIEW = 'e-overflow';
|
|
|
7467
7541
|
var SHOW_TEXT = 'e-show-text';
|
|
7468
7542
|
var TOTAL_COUNT_WRAPPER = 'e-total-count';
|
|
7469
7543
|
var REMAIN_COUNT = 'e-wrap-count';
|
|
7470
|
-
var Fields = /** @
|
|
7544
|
+
var Fields = /** @class */ (function (_super) {
|
|
7471
7545
|
__extends$2(Fields, _super);
|
|
7472
7546
|
function Fields() {
|
|
7473
7547
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7519,7 +7593,7 @@ var Fields = /** @__PURE__ @class */ (function (_super) {
|
|
|
7519
7593
|
], Fields.prototype, "value", void 0);
|
|
7520
7594
|
return Fields;
|
|
7521
7595
|
}(ChildProperty));
|
|
7522
|
-
var TreeSettings = /** @
|
|
7596
|
+
var TreeSettings = /** @class */ (function (_super) {
|
|
7523
7597
|
__extends$2(TreeSettings, _super);
|
|
7524
7598
|
function TreeSettings() {
|
|
7525
7599
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7550,7 +7624,7 @@ var TreeSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7550
7624
|
* ddtObj.appendTo("#tree");
|
|
7551
7625
|
* ```
|
|
7552
7626
|
*/
|
|
7553
|
-
var DropDownTree = /** @
|
|
7627
|
+
var DropDownTree = /** @class */ (function (_super) {
|
|
7554
7628
|
__extends$2(DropDownTree, _super);
|
|
7555
7629
|
function DropDownTree(options, element) {
|
|
7556
7630
|
var _this = _super.call(this, options, element) || this;
|
|
@@ -8036,6 +8110,9 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8036
8110
|
};
|
|
8037
8111
|
/* To wire events for the dropdown tree */
|
|
8038
8112
|
DropDownTree.prototype.wireEvents = function () {
|
|
8113
|
+
if (Browser.isIos) {
|
|
8114
|
+
EventHandler.add(this.inputWrapper, 'touchstart', this.handleIosTouch, this);
|
|
8115
|
+
}
|
|
8039
8116
|
EventHandler.add(this.inputWrapper, 'mouseup', this.dropDownClick, this);
|
|
8040
8117
|
EventHandler.add(this.inputWrapper, 'focus', this.focusIn, this);
|
|
8041
8118
|
EventHandler.add(this.inputWrapper, 'blur', this.focusOut, this);
|
|
@@ -8069,6 +8146,9 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8069
8146
|
};
|
|
8070
8147
|
/* To unwire events for the dropdown tree */
|
|
8071
8148
|
DropDownTree.prototype.unWireEvents = function () {
|
|
8149
|
+
if (Browser.isIos) {
|
|
8150
|
+
EventHandler.remove(this.inputWrapper, 'touchstart', this.handleIosTouch);
|
|
8151
|
+
}
|
|
8072
8152
|
EventHandler.remove(this.inputWrapper, 'mouseup', this.dropDownClick);
|
|
8073
8153
|
EventHandler.remove(this.inputWrapper, 'focus', this.focusIn);
|
|
8074
8154
|
EventHandler.remove(this.inputWrapper, 'blur', this.focusOut);
|
|
@@ -8086,6 +8166,11 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
8086
8166
|
}
|
|
8087
8167
|
document.removeEventListener('mousedown', this.documentClickContext);
|
|
8088
8168
|
};
|
|
8169
|
+
/* Handles touch events specifically for iOS devices */
|
|
8170
|
+
DropDownTree.prototype.handleIosTouch = function (e) {
|
|
8171
|
+
e.preventDefault();
|
|
8172
|
+
this.dropDownClick(e);
|
|
8173
|
+
};
|
|
8089
8174
|
/* Trigger when the dropdown is clicked */
|
|
8090
8175
|
DropDownTree.prototype.dropDownClick = function (e) {
|
|
8091
8176
|
if (!this.enabled || this.readonly) {
|
|
@@ -10963,25 +11048,25 @@ var DropDownTree = /** @__PURE__ @class */ (function (_super) {
|
|
|
10963
11048
|
return DropDownTree;
|
|
10964
11049
|
}(Component));
|
|
10965
11050
|
|
|
10966
|
-
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
10967
|
-
var extendStatics = function (d, b) {
|
|
10968
|
-
extendStatics = Object.setPrototypeOf ||
|
|
10969
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10970
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
10971
|
-
return extendStatics(d, b);
|
|
10972
|
-
};
|
|
10973
|
-
return function (d, b) {
|
|
10974
|
-
extendStatics(d, b);
|
|
10975
|
-
function __() { this.constructor = d; }
|
|
10976
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10977
|
-
};
|
|
10978
|
-
})();
|
|
10979
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10980
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10981
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10982
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10983
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10984
|
-
};
|
|
11051
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
11052
|
+
var extendStatics = function (d, b) {
|
|
11053
|
+
extendStatics = Object.setPrototypeOf ||
|
|
11054
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11055
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
11056
|
+
return extendStatics(d, b);
|
|
11057
|
+
};
|
|
11058
|
+
return function (d, b) {
|
|
11059
|
+
extendStatics(d, b);
|
|
11060
|
+
function __() { this.constructor = d; }
|
|
11061
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11062
|
+
};
|
|
11063
|
+
})();
|
|
11064
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11065
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11066
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11067
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11068
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11069
|
+
};
|
|
10985
11070
|
var SPINNER_CLASS = 'e-atc-spinner-icon';
|
|
10986
11071
|
dropDownListClasses.root = 'e-combobox';
|
|
10987
11072
|
var inputObject$1 = {
|
|
@@ -11004,7 +11089,7 @@ var inputObject$1 = {
|
|
|
11004
11089
|
* games.appendTo("#list");
|
|
11005
11090
|
* ```
|
|
11006
11091
|
*/
|
|
11007
|
-
var ComboBox = /** @
|
|
11092
|
+
var ComboBox = /** @class */ (function (_super) {
|
|
11008
11093
|
__extends$3(ComboBox, _super);
|
|
11009
11094
|
/**
|
|
11010
11095
|
* *Constructor for creating the component
|
|
@@ -11984,9 +12069,6 @@ var ComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
11984
12069
|
__decorate$3([
|
|
11985
12070
|
Property(true)
|
|
11986
12071
|
], ComboBox.prototype, "showClearButton", void 0);
|
|
11987
|
-
__decorate$3([
|
|
11988
|
-
Property(false)
|
|
11989
|
-
], ComboBox.prototype, "enableRtl", void 0);
|
|
11990
12072
|
__decorate$3([
|
|
11991
12073
|
Event()
|
|
11992
12074
|
], ComboBox.prototype, "customValueSpecifier", void 0);
|
|
@@ -12041,25 +12123,25 @@ var ComboBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
12041
12123
|
return ComboBox;
|
|
12042
12124
|
}(DropDownList));
|
|
12043
12125
|
|
|
12044
|
-
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
12045
|
-
var extendStatics = function (d, b) {
|
|
12046
|
-
extendStatics = Object.setPrototypeOf ||
|
|
12047
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12048
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12049
|
-
return extendStatics(d, b);
|
|
12050
|
-
};
|
|
12051
|
-
return function (d, b) {
|
|
12052
|
-
extendStatics(d, b);
|
|
12053
|
-
function __() { this.constructor = d; }
|
|
12054
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12055
|
-
};
|
|
12056
|
-
})();
|
|
12057
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12058
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12059
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12060
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12061
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12062
|
-
};
|
|
12126
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
12127
|
+
var extendStatics = function (d, b) {
|
|
12128
|
+
extendStatics = Object.setPrototypeOf ||
|
|
12129
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12130
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12131
|
+
return extendStatics(d, b);
|
|
12132
|
+
};
|
|
12133
|
+
return function (d, b) {
|
|
12134
|
+
extendStatics(d, b);
|
|
12135
|
+
function __() { this.constructor = d; }
|
|
12136
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12137
|
+
};
|
|
12138
|
+
})();
|
|
12139
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12140
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12141
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12142
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12143
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12144
|
+
};
|
|
12063
12145
|
dropDownListClasses.root = 'e-autocomplete';
|
|
12064
12146
|
dropDownListClasses.icon = 'e-input-group-icon e-ddl-icon e-search-icon';
|
|
12065
12147
|
/**
|
|
@@ -12073,7 +12155,7 @@ dropDownListClasses.icon = 'e-input-group-icon e-ddl-icon e-search-icon';
|
|
|
12073
12155
|
* atcObj.appendTo("#list");
|
|
12074
12156
|
* ```
|
|
12075
12157
|
*/
|
|
12076
|
-
var AutoComplete = /** @
|
|
12158
|
+
var AutoComplete = /** @class */ (function (_super) {
|
|
12077
12159
|
__extends$4(AutoComplete, _super);
|
|
12078
12160
|
/**
|
|
12079
12161
|
* * Constructor for creating the widget
|
|
@@ -12194,7 +12276,6 @@ var AutoComplete = /** @__PURE__ @class */ (function (_super) {
|
|
|
12194
12276
|
return filterQuery;
|
|
12195
12277
|
};
|
|
12196
12278
|
AutoComplete.prototype.searchLists = function (e) {
|
|
12197
|
-
var _this_1 = this;
|
|
12198
12279
|
this.isTyped = true;
|
|
12199
12280
|
this.isDataFetched = this.isSelectCustom = false;
|
|
12200
12281
|
this.firstItem = this.dataSource && this.dataSource.length > 0 ? this.dataSource[0] : null;
|
|
@@ -12212,6 +12293,15 @@ var AutoComplete = /** @__PURE__ @class */ (function (_super) {
|
|
|
12212
12293
|
this.isSelected = false;
|
|
12213
12294
|
this.activeIndex = null;
|
|
12214
12295
|
this.isRequesting = false;
|
|
12296
|
+
if (this.queryString !== '' && this.debounceDelay > 0) {
|
|
12297
|
+
this.debouncedFiltering(e, this.debounceDelay);
|
|
12298
|
+
}
|
|
12299
|
+
else {
|
|
12300
|
+
this.performFiltering(e);
|
|
12301
|
+
}
|
|
12302
|
+
};
|
|
12303
|
+
AutoComplete.prototype.performFiltering = function (e) {
|
|
12304
|
+
var _this_1 = this;
|
|
12215
12305
|
var eventArgs = {
|
|
12216
12306
|
preventDefaultAction: false,
|
|
12217
12307
|
text: this.filterInput.value,
|
|
@@ -12761,25 +12851,25 @@ function encodePlaceholder(placeholder) {
|
|
|
12761
12851
|
}
|
|
12762
12852
|
/* eslint-enable valid-jsdoc */
|
|
12763
12853
|
|
|
12764
|
-
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
12765
|
-
var extendStatics = function (d, b) {
|
|
12766
|
-
extendStatics = Object.setPrototypeOf ||
|
|
12767
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12768
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12769
|
-
return extendStatics(d, b);
|
|
12770
|
-
};
|
|
12771
|
-
return function (d, b) {
|
|
12772
|
-
extendStatics(d, b);
|
|
12773
|
-
function __() { this.constructor = d; }
|
|
12774
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12775
|
-
};
|
|
12776
|
-
})();
|
|
12777
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12778
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12779
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12780
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12781
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12782
|
-
};
|
|
12854
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
12855
|
+
var extendStatics = function (d, b) {
|
|
12856
|
+
extendStatics = Object.setPrototypeOf ||
|
|
12857
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12858
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12859
|
+
return extendStatics(d, b);
|
|
12860
|
+
};
|
|
12861
|
+
return function (d, b) {
|
|
12862
|
+
extendStatics(d, b);
|
|
12863
|
+
function __() { this.constructor = d; }
|
|
12864
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12865
|
+
};
|
|
12866
|
+
})();
|
|
12867
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12868
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12869
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12870
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12871
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12872
|
+
};
|
|
12783
12873
|
var FOCUS = 'e-input-focus';
|
|
12784
12874
|
var DISABLED$1 = 'e-disabled';
|
|
12785
12875
|
var OVER_ALL_WRAPPER = 'e-multiselect e-input-group e-control-wrapper';
|
|
@@ -12835,7 +12925,7 @@ var RESIZE_ICON = 'e-resizer-right e-icons';
|
|
|
12835
12925
|
* </script>
|
|
12836
12926
|
* ```
|
|
12837
12927
|
*/
|
|
12838
|
-
var MultiSelect = /** @
|
|
12928
|
+
var MultiSelect = /** @class */ (function (_super) {
|
|
12839
12929
|
__extends$5(MultiSelect, _super);
|
|
12840
12930
|
/**
|
|
12841
12931
|
* Constructor for creating the DropDownList widget.
|
|
@@ -13363,7 +13453,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
13363
13453
|
valuecheck = this.presentItemValue(this.ulElement);
|
|
13364
13454
|
}
|
|
13365
13455
|
if (valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
|
|
13366
|
-
&& this.listData != null) {
|
|
13456
|
+
&& this.listData != null && !(valuecheck.length === 1 && valuecheck[0] == null)) {
|
|
13367
13457
|
this.isaddNonPresentItems = true;
|
|
13368
13458
|
this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
|
|
13369
13459
|
this.isaddNonPresentItems = false;
|
|
@@ -14238,7 +14328,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
14238
14328
|
MultiSelect.prototype.pageDownSelection = function (steps, isVirtualKeyAction) {
|
|
14239
14329
|
var list = this.getItems();
|
|
14240
14330
|
var collection = this.list.querySelectorAll('li.'
|
|
14241
|
-
+ dropDownBaseClasses.li + ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)');
|
|
14331
|
+
+ dropDownBaseClasses.li + ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)' + ':not(.e-virtual-list-end)');
|
|
14242
14332
|
var previousItem = steps <= collection.length ? collection[steps - 1] : collection[collection.length - 1];
|
|
14243
14333
|
if (this.fields.disabled && previousItem && !this.enableVirtualization) {
|
|
14244
14334
|
while (previousItem && (previousItem.classList.contains('e-disabled') || previousItem.classList.contains(HIDE_LIST) ||
|
|
@@ -14255,6 +14345,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
14255
14345
|
if (this.enableVirtualization && isVirtualKeyAction) {
|
|
14256
14346
|
previousItem = steps <= list.length ? this.liCollections[steps] : this.liCollections[list.length - 1];
|
|
14257
14347
|
}
|
|
14348
|
+
if (this.enableVirtualization && previousItem && previousItem.classList.contains('e-virtual-list-end')) {
|
|
14349
|
+
previousItem = collection[collection.length - 1];
|
|
14350
|
+
}
|
|
14258
14351
|
this.isKeyBoardAction = true;
|
|
14259
14352
|
this.addListFocus(previousItem);
|
|
14260
14353
|
this.previousFocusItem = previousItem;
|
|
@@ -14739,9 +14832,10 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
14739
14832
|
var selectedListMargin = selectedLI && !isNaN(parseInt(window.getComputedStyle(selectedLI).marginBottom, 10)) ?
|
|
14740
14833
|
parseInt(window.getComputedStyle(selectedLI).marginBottom, 10) : 0;
|
|
14741
14834
|
this.isUpwardScrolling = false;
|
|
14742
|
-
var virtualListCount = this.list.querySelectorAll('.e-virtual-list').length;
|
|
14743
|
-
var
|
|
14744
|
-
|
|
14835
|
+
var virtualListCount = this.list.querySelectorAll('.e-virtual-list:not(.e-virtual-list-end)').length;
|
|
14836
|
+
var liItems = this.list.querySelectorAll('li:not(.e-virtual-list-end)');
|
|
14837
|
+
var lastElementValue = liItems && liItems.length > 0 && liItems[liItems.length - 1] ?
|
|
14838
|
+
liItems[liItems.length - 1].getAttribute('data-value') : null;
|
|
14745
14839
|
var selectedLiOffsetTop = this.virtualListInfo && this.virtualListInfo.startIndex ?
|
|
14746
14840
|
selectedLI.offsetTop + (this.virtualListInfo.startIndex * (selectedLI.offsetHeight + selectedListMargin))
|
|
14747
14841
|
: selectedLI.offsetTop;
|
|
@@ -14795,7 +14889,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
14795
14889
|
};
|
|
14796
14890
|
MultiSelect.prototype.scrollTop = function (selectedLI, activeIndex, keyCode) {
|
|
14797
14891
|
if (keyCode === void 0) { keyCode = null; }
|
|
14798
|
-
var virtualListCount = this.list.querySelectorAll('.e-virtual-list').length;
|
|
14892
|
+
var virtualListCount = this.list.querySelectorAll('.e-virtual-list:not(.e-virtual-list-end)').length;
|
|
14799
14893
|
var selectedListMargin = selectedLI && !isNaN(parseInt(window.getComputedStyle(selectedLI).marginBottom, 10)) ?
|
|
14800
14894
|
parseInt(window.getComputedStyle(selectedLI).marginBottom, 10) : 0;
|
|
14801
14895
|
var selectedLiOffsetTop = (this.virtualListInfo && this.virtualListInfo.startIndex) ?
|
|
@@ -15024,11 +15118,11 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
15024
15118
|
if (this.list) {
|
|
15025
15119
|
var elements = this.list.querySelectorAll('li.'
|
|
15026
15120
|
+ dropDownBaseClasses.li
|
|
15027
|
-
+ ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)');
|
|
15121
|
+
+ ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)' + ':not(.e-virtual-list-end)');
|
|
15028
15122
|
if (this.mode === 'CheckBox' && this.enableGroupCheckBox && !isNullOrUndefined(this.fields.groupBy)) {
|
|
15029
15123
|
elements = this.list.querySelectorAll('li.'
|
|
15030
15124
|
+ dropDownBaseClasses.li + ',li.' + dropDownBaseClasses.group
|
|
15031
|
-
+ ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)');
|
|
15125
|
+
+ ':not(.' + HIDE_LIST + ')' + ':not(.e-reorder-hide)' + ':not(.e-virtual-list-end)');
|
|
15032
15126
|
}
|
|
15033
15127
|
var selectedElem = this.list.querySelector('li.' + dropDownBaseClasses.focus);
|
|
15034
15128
|
if (this.enableVirtualization && isVirtualKeyAction && !isNullOrUndefined(this.currentFocuedListElement)) {
|
|
@@ -15428,6 +15522,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
15428
15522
|
}
|
|
15429
15523
|
}
|
|
15430
15524
|
};
|
|
15525
|
+
MultiSelect.prototype.isFilteringWithRemoteData = function () {
|
|
15526
|
+
return !isNullOrUndefined(this.mainData) && this.mainData.length > 0 && this.allowFiltering;
|
|
15527
|
+
};
|
|
15431
15528
|
MultiSelect.prototype.removeChip = function (value, isClearAll) {
|
|
15432
15529
|
if (this.chipCollectionWrapper) {
|
|
15433
15530
|
if (!(this.enableVirtualization && isClearAll)) {
|
|
@@ -15727,7 +15824,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
15727
15824
|
var inputWidth = (this.componentWrapper.offsetWidth) * parseFloat(width) / 100;
|
|
15728
15825
|
width = inputWidth.toString() + 'px';
|
|
15729
15826
|
}
|
|
15730
|
-
return width;
|
|
15827
|
+
return (this.allowResize && this.resizeWidth) ? this.resizeWidth + 'px' : width;
|
|
15731
15828
|
};
|
|
15732
15829
|
MultiSelect.prototype.mouseIn = function () {
|
|
15733
15830
|
if (this.enabled && !this.readonly) {
|
|
@@ -16002,7 +16099,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
16002
16099
|
MultiSelect.prototype.updateInitialData = function () {
|
|
16003
16100
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16004
16101
|
var currentData = this.selectData;
|
|
16005
|
-
var ulElement = this.renderItems(currentData, this.fields);
|
|
16102
|
+
var ulElement = this.renderItems(currentData, this.fields, false, this.isClearAllAction);
|
|
16006
16103
|
this.list.scrollTop = 0;
|
|
16007
16104
|
this.virtualListInfo = {
|
|
16008
16105
|
currentPageNumber: null,
|
|
@@ -16223,8 +16320,40 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
16223
16320
|
_this.search(event);
|
|
16224
16321
|
});
|
|
16225
16322
|
};
|
|
16226
|
-
MultiSelect.prototype.
|
|
16323
|
+
MultiSelect.prototype.performFiltering = function (e) {
|
|
16227
16324
|
var _this = this;
|
|
16325
|
+
var eventArgs = {
|
|
16326
|
+
preventDefaultAction: false,
|
|
16327
|
+
text: this.targetElement(),
|
|
16328
|
+
updateData: function (dataSource, query, fields) {
|
|
16329
|
+
if (eventArgs.cancel) {
|
|
16330
|
+
return;
|
|
16331
|
+
}
|
|
16332
|
+
_this.isFiltered = true;
|
|
16333
|
+
_this.customFilterQuery = query;
|
|
16334
|
+
_this.remoteFilterAction = true;
|
|
16335
|
+
_this.isCustomFiltering = true;
|
|
16336
|
+
_this.dataUpdater(dataSource, query, fields);
|
|
16337
|
+
},
|
|
16338
|
+
event: e,
|
|
16339
|
+
cancel: false
|
|
16340
|
+
};
|
|
16341
|
+
this.trigger('filtering', eventArgs, function (eventArgs) {
|
|
16342
|
+
_this.isFilterPrevented = eventArgs.cancel;
|
|
16343
|
+
if (!eventArgs.cancel) {
|
|
16344
|
+
if (!_this.isFiltered && !eventArgs.preventDefaultAction) {
|
|
16345
|
+
_this.filterAction = true;
|
|
16346
|
+
_this.isFilteringAction = true;
|
|
16347
|
+
if (_this.dataSource instanceof DataManager && _this.allowCustomValue) {
|
|
16348
|
+
_this.isCustomRendered = false;
|
|
16349
|
+
}
|
|
16350
|
+
_this.dataUpdater(_this.dataSource, null, _this.fields);
|
|
16351
|
+
_this.isFilteringAction = false;
|
|
16352
|
+
}
|
|
16353
|
+
}
|
|
16354
|
+
});
|
|
16355
|
+
};
|
|
16356
|
+
MultiSelect.prototype.search = function (e) {
|
|
16228
16357
|
this.preventSetCurrentData = false;
|
|
16229
16358
|
this.firstItem = this.dataSource && this.dataSource.length > 0 ? this.dataSource[0] : null;
|
|
16230
16359
|
if (!isNullOrUndefined(e)) {
|
|
@@ -16245,36 +16374,12 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
16245
16374
|
}
|
|
16246
16375
|
this.checkAndResetCache();
|
|
16247
16376
|
this.isRequesting = false;
|
|
16248
|
-
|
|
16249
|
-
|
|
16250
|
-
|
|
16251
|
-
|
|
16252
|
-
|
|
16253
|
-
|
|
16254
|
-
}
|
|
16255
|
-
_this.isFiltered = true;
|
|
16256
|
-
_this.customFilterQuery = query;
|
|
16257
|
-
_this.remoteFilterAction = true;
|
|
16258
|
-
_this.isCustomFiltering = true;
|
|
16259
|
-
_this.dataUpdater(dataSource, query, fields);
|
|
16260
|
-
},
|
|
16261
|
-
event: e,
|
|
16262
|
-
cancel: false
|
|
16263
|
-
};
|
|
16264
|
-
this.trigger('filtering', eventArgs_1, function (eventArgs) {
|
|
16265
|
-
_this.isFilterPrevented = eventArgs.cancel;
|
|
16266
|
-
if (!eventArgs.cancel) {
|
|
16267
|
-
if (!_this.isFiltered && !eventArgs.preventDefaultAction) {
|
|
16268
|
-
_this.filterAction = true;
|
|
16269
|
-
_this.isFilteringAction = true;
|
|
16270
|
-
if (_this.dataSource instanceof DataManager && _this.allowCustomValue) {
|
|
16271
|
-
_this.isCustomRendered = false;
|
|
16272
|
-
}
|
|
16273
|
-
_this.dataUpdater(_this.dataSource, null, _this.fields);
|
|
16274
|
-
_this.isFilteringAction = false;
|
|
16275
|
-
}
|
|
16276
|
-
}
|
|
16277
|
-
});
|
|
16377
|
+
if (this.targetElement() !== '' && this.debounceDelay > 0) {
|
|
16378
|
+
this.debouncedFiltering(e, this.debounceDelay);
|
|
16379
|
+
}
|
|
16380
|
+
else {
|
|
16381
|
+
this.performFiltering(e);
|
|
16382
|
+
}
|
|
16278
16383
|
}
|
|
16279
16384
|
else if (this.allowCustomValue) {
|
|
16280
16385
|
var query = new Query();
|
|
@@ -16585,6 +16690,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
16585
16690
|
getValue(((this.fields.value) ? this.fields.value : ''), this.value[index]) :
|
|
16586
16691
|
this.value[index];
|
|
16587
16692
|
element = this.findListElement(this.hideSelectedItem ? this.ulElement : this.list, 'li', 'data-value', value);
|
|
16693
|
+
if (!element && !isNullOrUndefined(this.mainList) && this.isFilteringWithRemoteData()) {
|
|
16694
|
+
element = this.findListElement(this.mainList, 'li', 'data-value', value);
|
|
16695
|
+
}
|
|
16588
16696
|
var isCustomData = false;
|
|
16589
16697
|
if (this.enableVirtualization) {
|
|
16590
16698
|
text = null;
|
|
@@ -16621,6 +16729,12 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
16621
16729
|
}
|
|
16622
16730
|
else {
|
|
16623
16731
|
text = this.getTextByValue(value);
|
|
16732
|
+
if (text === value && this.isFilteringWithRemoteData()) {
|
|
16733
|
+
var savedListData = this.listData;
|
|
16734
|
+
this.listData = this.mainData;
|
|
16735
|
+
text = this.getTextByValue(value);
|
|
16736
|
+
this.listData = savedListData;
|
|
16737
|
+
}
|
|
16624
16738
|
}
|
|
16625
16739
|
if (((element && (element.getAttribute('aria-selected') !== 'true')) ||
|
|
16626
16740
|
(element && (element.getAttribute('aria-selected') === 'true' && this.hideSelectedItem) &&
|
|
@@ -17388,7 +17502,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
17388
17502
|
};
|
|
17389
17503
|
MultiSelect.prototype.checkClearIconWidth = function () {
|
|
17390
17504
|
if (this.showClearButton) {
|
|
17391
|
-
this.clearIconWidth = parseInt(window.getComputedStyle(this.overAllClear).width, 10);
|
|
17505
|
+
this.clearIconWidth = parseInt(window.getComputedStyle(this.overAllClear).width, 10) || this.overAllClear.offsetWidth;
|
|
17392
17506
|
}
|
|
17393
17507
|
};
|
|
17394
17508
|
MultiSelect.prototype.updateRemainWidth = function (viewWrapper, totalWidth) {
|
|
@@ -18307,7 +18421,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
18307
18421
|
_this.list.parentElement.style.paddingBottom = '';
|
|
18308
18422
|
var overAllHeight = parseInt(_this.popupHeight, 10);
|
|
18309
18423
|
_this.list.style.maxHeight = formatUnit(overAllHeight);
|
|
18310
|
-
_this.
|
|
18424
|
+
if (_this.popupHeight.toString().toLowerCase() !== 'auto' && _this.initialPopupHeight >= (parseInt(_this.popupHeight.toString(), 10) - 2)) {
|
|
18425
|
+
_this.list.parentElement.style.height = formatUnit(_this.popupHeight);
|
|
18426
|
+
}
|
|
18311
18427
|
_this.list.parentElement.style.maxHeight = formatUnit(_this.popupHeight);
|
|
18312
18428
|
}
|
|
18313
18429
|
if (_this.resizer) {
|
|
@@ -18635,7 +18751,8 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
18635
18751
|
}
|
|
18636
18752
|
if (this.list && this.list.parentElement) {
|
|
18637
18753
|
this.list.parentElement.classList.add('e-resize');
|
|
18638
|
-
|
|
18754
|
+
this.initialPopupHeight = this.list.parentElement.clientHeight;
|
|
18755
|
+
if (this.popupHeight.toString().toLowerCase() !== 'auto' && this.initialPopupHeight >= (parseInt(this.popupHeight.toString(), 10) - 2)) {
|
|
18639
18756
|
this.list.parentElement.style.height = '100%';
|
|
18640
18757
|
}
|
|
18641
18758
|
this.list.parentElement.style.boxSizing = 'border-box'; // Ensures padding doesn't affect element size
|
|
@@ -18646,6 +18763,18 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
18646
18763
|
this.list.parentElement.style.height = this.resizeHeight + 'px';
|
|
18647
18764
|
this.list.parentElement.style.maxHeight = this.resizeHeight + 'px';
|
|
18648
18765
|
this.list.style.maxHeight = this.resizeHeight + "px";
|
|
18766
|
+
if (this.headerTemplate) {
|
|
18767
|
+
var headerElem = this.list.parentElement.querySelector('.e-ddl-header');
|
|
18768
|
+
if (headerElem && headerElem.offsetHeight) {
|
|
18769
|
+
this.headerTemplateHeight = headerElem.offsetHeight;
|
|
18770
|
+
}
|
|
18771
|
+
if (this.resizeHeight) {
|
|
18772
|
+
this.list.style.maxHeight = this.resizeHeight - this.headerTemplateHeight - 16 + "px";
|
|
18773
|
+
}
|
|
18774
|
+
else {
|
|
18775
|
+
this.list.style.maxHeight = parseInt(this.list.style.maxHeight, 10) - 16 + "px";
|
|
18776
|
+
}
|
|
18777
|
+
}
|
|
18649
18778
|
}
|
|
18650
18779
|
if (this.resizer) {
|
|
18651
18780
|
EventHandler.add(this.resizer, 'mousedown', this.startResizing, this);
|
|
@@ -18700,6 +18829,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
18700
18829
|
this.list.parentElement.style.height = this.resizeHeight + "px";
|
|
18701
18830
|
this.list.parentElement.style.maxHeight = this.resizeHeight + "px";
|
|
18702
18831
|
this.list.style.maxHeight = this.resizeHeight + "px";
|
|
18832
|
+
if (this.headerTemplate) {
|
|
18833
|
+
this.list.style.maxHeight = this.resizeHeight - this.headerTemplateHeight - 16 + "px";
|
|
18834
|
+
}
|
|
18703
18835
|
if (this.fixedHeaderElement && this.ulElement) {
|
|
18704
18836
|
this.fixedHeaderElement.style.width = this.ulElement.offsetWidth + "px";
|
|
18705
18837
|
}
|
|
@@ -19199,6 +19331,9 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
19199
19331
|
__decorate$5([
|
|
19200
19332
|
Property(null)
|
|
19201
19333
|
], MultiSelect.prototype, "allowFiltering", void 0);
|
|
19334
|
+
__decorate$5([
|
|
19335
|
+
Property(300)
|
|
19336
|
+
], MultiSelect.prototype, "debounceDelay", void 0);
|
|
19202
19337
|
__decorate$5([
|
|
19203
19338
|
Property(true)
|
|
19204
19339
|
], MultiSelect.prototype, "isDeviceFullScreen", void 0);
|
|
@@ -19343,7 +19478,7 @@ var FOCUS$1 = 'e-input-focus';
|
|
|
19343
19478
|
/**
|
|
19344
19479
|
* The Multiselect enable CheckBoxSelection call this inject module.
|
|
19345
19480
|
*/
|
|
19346
|
-
var CheckBoxSelection = /** @
|
|
19481
|
+
var CheckBoxSelection = /** @class */ (function () {
|
|
19347
19482
|
function CheckBoxSelection(parent) {
|
|
19348
19483
|
this.activeLi = [];
|
|
19349
19484
|
this.activeEle = [];
|
|
@@ -19865,29 +20000,29 @@ var CheckBoxSelection = /** @__PURE__ @class */ (function () {
|
|
|
19865
20000
|
return CheckBoxSelection;
|
|
19866
20001
|
}());
|
|
19867
20002
|
|
|
19868
|
-
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
19869
|
-
var extendStatics = function (d, b) {
|
|
19870
|
-
extendStatics = Object.setPrototypeOf ||
|
|
19871
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19872
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
19873
|
-
return extendStatics(d, b);
|
|
19874
|
-
};
|
|
19875
|
-
return function (d, b) {
|
|
19876
|
-
extendStatics(d, b);
|
|
19877
|
-
function __() { this.constructor = d; }
|
|
19878
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
19879
|
-
};
|
|
19880
|
-
})();
|
|
19881
|
-
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
19882
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19883
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19884
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
19885
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19886
|
-
};
|
|
20003
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
20004
|
+
var extendStatics = function (d, b) {
|
|
20005
|
+
extendStatics = Object.setPrototypeOf ||
|
|
20006
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
20007
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20008
|
+
return extendStatics(d, b);
|
|
20009
|
+
};
|
|
20010
|
+
return function (d, b) {
|
|
20011
|
+
extendStatics(d, b);
|
|
20012
|
+
function __() { this.constructor = d; }
|
|
20013
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20014
|
+
};
|
|
20015
|
+
})();
|
|
20016
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
20017
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20018
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20019
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
20020
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20021
|
+
};
|
|
19887
20022
|
/**
|
|
19888
20023
|
* Defines the Selection settings of List Box.
|
|
19889
20024
|
*/
|
|
19890
|
-
var SelectionSettings = /** @
|
|
20025
|
+
var SelectionSettings = /** @class */ (function (_super) {
|
|
19891
20026
|
__extends$6(SelectionSettings, _super);
|
|
19892
20027
|
function SelectionSettings() {
|
|
19893
20028
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -19909,7 +20044,7 @@ var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
19909
20044
|
/**
|
|
19910
20045
|
* Defines the toolbar settings of List Box.
|
|
19911
20046
|
*/
|
|
19912
|
-
var ToolbarSettings = /** @
|
|
20047
|
+
var ToolbarSettings = /** @class */ (function (_super) {
|
|
19913
20048
|
__extends$6(ToolbarSettings, _super);
|
|
19914
20049
|
function ToolbarSettings() {
|
|
19915
20050
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -19942,7 +20077,7 @@ var ToolbarSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
19942
20077
|
* </script>
|
|
19943
20078
|
* ```
|
|
19944
20079
|
*/
|
|
19945
|
-
var ListBox = /** @
|
|
20080
|
+
var ListBox = /** @class */ (function (_super) {
|
|
19946
20081
|
__extends$6(ListBox, _super);
|
|
19947
20082
|
/**
|
|
19948
20083
|
* Constructor for creating the ListBox component.
|
|
@@ -22542,30 +22677,30 @@ var listBoxClasses = {
|
|
|
22542
22677
|
clearIcon: 'e-clear-icon'
|
|
22543
22678
|
};
|
|
22544
22679
|
|
|
22545
|
-
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
22546
|
-
var extendStatics = function (d, b) {
|
|
22547
|
-
extendStatics = Object.setPrototypeOf ||
|
|
22548
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
22549
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
22550
|
-
return extendStatics(d, b);
|
|
22551
|
-
};
|
|
22552
|
-
return function (d, b) {
|
|
22553
|
-
extendStatics(d, b);
|
|
22554
|
-
function __() { this.constructor = d; }
|
|
22555
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22556
|
-
};
|
|
22557
|
-
})();
|
|
22558
|
-
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
22559
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22560
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22561
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22562
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22563
|
-
};
|
|
22680
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
22681
|
+
var extendStatics = function (d, b) {
|
|
22682
|
+
extendStatics = Object.setPrototypeOf ||
|
|
22683
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
22684
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
22685
|
+
return extendStatics(d, b);
|
|
22686
|
+
};
|
|
22687
|
+
return function (d, b) {
|
|
22688
|
+
extendStatics(d, b);
|
|
22689
|
+
function __() { this.constructor = d; }
|
|
22690
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22691
|
+
};
|
|
22692
|
+
})();
|
|
22693
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
22694
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22695
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
22696
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22697
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22698
|
+
};
|
|
22564
22699
|
/**
|
|
22565
22700
|
* The Mention component is used to list someone or something based on user input in textarea, input,
|
|
22566
22701
|
* or any other editable element from which the user can select.
|
|
22567
22702
|
*/
|
|
22568
|
-
var Mention = /** @
|
|
22703
|
+
var Mention = /** @class */ (function (_super) {
|
|
22569
22704
|
__extends$7(Mention, _super);
|
|
22570
22705
|
/**
|
|
22571
22706
|
* * Constructor for creating the widget
|
|
@@ -22575,7 +22710,9 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
22575
22710
|
* @private
|
|
22576
22711
|
*/
|
|
22577
22712
|
function Mention(options, element) {
|
|
22578
|
-
|
|
22713
|
+
var _this = _super.call(this, options, element) || this;
|
|
22714
|
+
_this.debounceTimer = null;
|
|
22715
|
+
return _this;
|
|
22579
22716
|
}
|
|
22580
22717
|
/**
|
|
22581
22718
|
* When property value changes happened, then onPropertyChanged method will execute the respective changes in this component.
|
|
@@ -23010,22 +23147,8 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
23010
23147
|
this.range = this.inputElement.ownerDocument.getSelection().getRangeAt(0);
|
|
23011
23148
|
return this.range;
|
|
23012
23149
|
};
|
|
23013
|
-
Mention.prototype.
|
|
23150
|
+
Mention.prototype.performFiltering = function (e) {
|
|
23014
23151
|
var _this = this;
|
|
23015
|
-
this.isDataFetched = false;
|
|
23016
|
-
if (isNullOrUndefined(this.list)) {
|
|
23017
|
-
_super.prototype.render.call(this);
|
|
23018
|
-
this.unWireListEvents();
|
|
23019
|
-
this.wireListEvents();
|
|
23020
|
-
}
|
|
23021
|
-
if (e.type !== 'mousedown' && (e.keyCode === 40 || e.keyCode === 38)) {
|
|
23022
|
-
this.queryString = this.queryString === '' ? null : this.queryString;
|
|
23023
|
-
this.beforePopupOpen = true;
|
|
23024
|
-
this.resetList(this.dataSource, this.fields);
|
|
23025
|
-
return;
|
|
23026
|
-
}
|
|
23027
|
-
this.isSelected = false;
|
|
23028
|
-
this.activeIndex = null;
|
|
23029
23152
|
var eventArgs = {
|
|
23030
23153
|
preventDefaultAction: false,
|
|
23031
23154
|
text: this.queryString,
|
|
@@ -23044,6 +23167,28 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
23044
23167
|
}
|
|
23045
23168
|
});
|
|
23046
23169
|
};
|
|
23170
|
+
Mention.prototype.searchLists = function (e) {
|
|
23171
|
+
this.isDataFetched = false;
|
|
23172
|
+
if (isNullOrUndefined(this.list)) {
|
|
23173
|
+
_super.prototype.render.call(this);
|
|
23174
|
+
this.unWireListEvents();
|
|
23175
|
+
this.wireListEvents();
|
|
23176
|
+
}
|
|
23177
|
+
if (e.type !== 'mousedown' && (e.keyCode === 40 || e.keyCode === 38)) {
|
|
23178
|
+
this.queryString = this.queryString === '' ? null : this.queryString;
|
|
23179
|
+
this.beforePopupOpen = true;
|
|
23180
|
+
this.resetList(this.dataSource, this.fields);
|
|
23181
|
+
return;
|
|
23182
|
+
}
|
|
23183
|
+
this.isSelected = false;
|
|
23184
|
+
this.activeIndex = null;
|
|
23185
|
+
if (this.queryString !== '' && this.debounceDelay > 0) {
|
|
23186
|
+
this.debouncedFiltering(e, this.debounceDelay);
|
|
23187
|
+
}
|
|
23188
|
+
else {
|
|
23189
|
+
this.performFiltering(e);
|
|
23190
|
+
}
|
|
23191
|
+
};
|
|
23047
23192
|
Mention.prototype.filterAction = function (dataSource, query, fields) {
|
|
23048
23193
|
this.beforePopupOpen = true;
|
|
23049
23194
|
if (this.queryString.length >= this.minLength) {
|
|
@@ -24241,6 +24386,9 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
24241
24386
|
__decorate$7([
|
|
24242
24387
|
Property('300px')
|
|
24243
24388
|
], Mention.prototype, "popupHeight", void 0);
|
|
24389
|
+
__decorate$7([
|
|
24390
|
+
Property(300)
|
|
24391
|
+
], Mention.prototype, "debounceDelay", void 0);
|
|
24244
24392
|
__decorate$7([
|
|
24245
24393
|
Property(null)
|
|
24246
24394
|
], Mention.prototype, "displayTemplate", void 0);
|