@kizmann/nano-ui 0.8.24 → 0.8.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/nano-ui.css +1 -1
- package/dist/nano-ui.js +2 -2
- package/dist/nano-ui.js.map +1 -1
- package/package.json +1 -1
- package/src/draggable/src/draglist/draglist.js +10 -3
package/package.json
CHANGED
@@ -790,11 +790,18 @@ export default {
|
|
790
790
|
|
791
791
|
selectAll()
|
792
792
|
{
|
793
|
-
let
|
794
|
-
|
793
|
+
let result = Arr.filter(this.visible, (item) => {
|
794
|
+
|
795
|
+
let canSelect = this.allowSelect;
|
796
|
+
|
797
|
+
if ( ! Any.isFunction(canSelect) ) {
|
798
|
+
canSelect = () => this.allowSelect;
|
799
|
+
}
|
800
|
+
|
801
|
+
return canSelect({ item }) && ! item.depth;
|
795
802
|
});
|
796
803
|
|
797
|
-
let indexies = Arr.each(
|
804
|
+
let indexies = Arr.each(result, (item) => {
|
798
805
|
return item[this.uniqueProp];
|
799
806
|
});
|
800
807
|
|